From a07c23354d4e043bdfc6c2f08f4e61e016d70705 Mon Sep 17 00:00:00 2001 From: "Christian Y. Brenninkmeijer" Date: Wed, 17 Apr 2024 07:05:23 +0100 Subject: [PATCH] fix add_monitor_core to all_cores --- pacman/data/pacman_data_writer.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pacman/data/pacman_data_writer.py b/pacman/data/pacman_data_writer.py index 0ad116b69..4f9aa2040 100644 --- a/pacman/data/pacman_data_writer.py +++ b/pacman/data/pacman_data_writer.py @@ -180,7 +180,7 @@ def add_edge(cls, edge: ApplicationEdge, cls.__pacman_data._graph.add_edge(edge, outgoing_edge_partition_name) def add_sample_monitor_vertex( - self, vertex: MachineVertex, all_cores: bool): + self, vertex: MachineVertex, all_chips: bool): """ Accepts a simple of the monitor cores to be added. @@ -192,13 +192,13 @@ def add_sample_monitor_vertex( :param ~pacman.model.graphs.machine.MachineVertex vertex: One of the vertices added to each core, assumed to be typical of all. - :param bool all_cores: - If True assumes that this Vertex will be placed on all cores + :param bool all_chips: + If True assumes that this Vertex will be placed on all chips including Ethernet ones. If False assumes that this Vertex type will only be placed on Ethernet Vertices """ - self.add_monitor_core(all_cores) + self.add_monitor_core(all_chips) self.__pacman_data._ethernet_monitor_vertices.append(vertex) - if all_cores: + if all_chips: self.__pacman_data._all_monitor_vertices.append(vertex)