Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions spinn_front_end_common/interface/abstract_spinnaker_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1606,7 +1606,7 @@ def _report_memory_on_host(self) -> None:
if timer.skip_if_virtual_board():
return
if timer.skip_if_cfg_false(
"Reports", "write_memory_map_report"):
"Reports", "write_memory_map_report_summary"):
return
memory_map_on_host_report()

Expand All @@ -1618,7 +1618,7 @@ def _report_memory_on_chip(self) -> None:
if timer.skip_if_virtual_board():
return
if timer.skip_if_cfg_false(
"Reports", "write_memory_map_report"):
"Reports", "write_memory_map_report_detailed"):
return
memory_map_on_host_chip_report()

Expand Down
3 changes: 3 additions & 0 deletions spinn_front_end_common/interface/config_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ def _previous_handler(self) -> None:
"run_compression_checker")
self._replaced_cfg("Reports", "report_enabled",
"[Mode]mode = Production to turn off most reports")
self._replaced_cfg("Reports", "write_memory_map_report",
"write_memory_map_report_summary and"
" write_memory_map_report_detailed")

def _error_on_previous(self, option: str) -> None:
try:
Expand Down
13 changes: 7 additions & 6 deletions spinn_front_end_common/interface/spinnaker.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,13 @@ write_compression_summary = Debug
See [write_compressed](write_compressed)
path_compression_summary = compressed_routing_summary.rpt

write_memory_map_report = Debug
@write_memory_map_report = Writes all the memry map reports. the summary and one per Core..
path_memory_map_report_map = memory_map_from_processor_to_address_space
@group_path_memory_map_report_map = write_memory_map_report
path_memory_map_reports = memory_map_reports
@group_path_memory_map_reports = write_memory_map_report
write_memory_map_report_summary = Debug
@write_memory_map_report_summary = Writes the summary memory map report
path_memory_map_report_summary = memory_map_from_processor_to_address_space.txt

write_memory_map_report_detailed = Debug
@write_memory_map_report_detailed = Writes the per core memory map report
path_memory_map_report_detailed = memory_map_reports

write_network_specification_report = Info
@write_network_specification_report = Write the details of the network.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ def memory_map_on_host_chip_report() -> None:
Report on memory usage. Creates a report that states where in SDRAM
each region is (read from machine).
"""
directory_name = get_report_path("path_memory_map_reports", is_dir=True)
directory_name = get_report_path(
"path_memory_map_report_detailed", is_dir=True)
if not os.path.exists(directory_name):
os.makedirs(directory_name)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def memory_map_on_host_report() -> None:
"""
Report on memory usage.
"""
file_name = get_report_path("path_memory_map_report_map")
file_name = get_report_path("path_memory_map_report_summary")
try:
with open(file_name, "w", encoding="utf-8") as f:
f.write("On host data specification executor\n")
Expand Down
Loading