spinn_front_end_common.utilities.report_functions package¶
Submodules¶
spinn_front_end_common.utilities.report_functions.energy_report module¶
Module contents¶
-
spinn_front_end_common.utilities.report_functions.
bitfield_compressor_report
()[source]¶ Generates a report that shows the impact of the compression of bitfields into the routing table.
Returns: a summary, or None if the report file can’t be written Return type: BitFieldSummary
-
class
spinn_front_end_common.utilities.report_functions.
BitFieldSummary
(total_merged, max_per_chip, lowest_per_chip, total_to_merge, max_to_merge_per_chip, low_to_merge_per_chip, average_per_chip_merged, average_per_chip_to_merge)[source]¶ Bases:
object
Summary description of generated bitfields.
Parameters:
-
spinn_front_end_common.utilities.report_functions.
board_chip_report
()[source]¶ Creates a report that states where in SDRAM each region is.
-
class
spinn_front_end_common.utilities.report_functions.
EnergyReport
[source]¶ Bases:
object
This class creates a report about the approximate total energy consumed by a SpiNNaker job execution.
-
JOULES_TO_KILOWATT_HOURS
= 3600000¶ converter between joules to kilowatt hours
-
-
spinn_front_end_common.utilities.report_functions.
fixed_route_from_machine_report
()[source]¶ Writes the fixed routes from the machine.
-
spinn_front_end_common.utilities.report_functions.
network_specification
()[source]¶ Generate report on the user’s network specification.
-
spinn_front_end_common.utilities.report_functions.
memory_map_on_host_chip_report
()[source]¶ Report on memory usage. Creates a report that states where in SDRAM each region is (read from machine).
-
spinn_front_end_common.utilities.report_functions.
memory_map_on_host_report
()[source]¶ Report on memory usage.
-
spinn_front_end_common.utilities.report_functions.
routing_table_from_machine_report
(routing_tables)[source]¶ Report the routing table that was actually on the machine.
folder_name = os.path.join(FecDataView().run_dir_path, _FOLDER_NAME) os.mkdir(folder_name)Parameters: - routing_tables (MulticastRoutingTables) – Compressed routing tables
- transceiver (Transceiver) –
- app_id (int) –
Describes what the tags actually present on the machine are.
-
spinn_front_end_common.utilities.report_functions.
write_json_machine
(json_folder=None, progress_bar=True, validate=True)[source]¶ Runs the code to write the machine in Java readable JSON.
Warning
The file in this folder will be overwritten!
Parameters: Returns: the name of the generated file
Return type:
-
spinn_front_end_common.utilities.report_functions.
write_json_placements
()[source]¶ Runs the code to write the placements in JSON.
-
spinn_front_end_common.utilities.report_functions.
write_json_routing_tables
(router_tables)[source]¶ Runs the code to write the machine in Java readable JSON.
Parameters: - router_tables (MulticastRoutingTables) – Routing Tables to convert. Could be uncompressed or compressed
- json_folder (str) – the folder to which the JSON are being written