Skip to content

Commit

Permalink
rename monitor processor to scamp processors
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Mar 7, 2024
1 parent 5d25dca commit 73e5557
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spinn_machine/chip.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def scamp_processors_ids(self) -> Iterator[int]:
yield from self._scamp_processors

@property
def n_monitor_processors(self) -> int:
def n_scamp_processors(self) -> int:
"""
The total number of processors that are used by scamp.
Expand Down
2 changes: 1 addition & 1 deletion unittests/test_virtual_machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def test_new_vm_with_max_cores(self):
_chip = vm[1, 1]
self.assertEqual(n_cpus, _chip.n_processors)
self.assertEqual(n_cpus - 1, _chip.n_placable_processors)
self.assertEqual(1, _chip.n_monitor_processors)
self.assertEqual(1, _chip.n_scamp_processors)
self.assertEqual(n_cpus - 1, len(list(_chip.placeable_processors)))
self.assertEqual(1, len(list(_chip.scamp_processors)))
count = sum(_chip.n_processors for _chip in vm.chips)
Expand Down

0 comments on commit 73e5557

Please sign in to comment.