spinn_front_end_common.utilities.scp package

Module contents

class spinn_front_end_common.utilities.scp.ClearIOBUFProcess(connection_selector)[source]

Bases: AbstractMultiConnectionProcess

How to clear the IOBUF buffers of a set of cores.

Note

The cores must be using the simulation interface.

Parameters:

connection_selector (AbstractMultiConnectionProcessConnectionSelector) –

clear_iobuf(core_subsets, n_cores=None)[source]
Parameters:
  • core_subsets (CoreSubsets) –

  • n_cores (int) – Defaults to the number of cores in core_subsets.

class spinn_front_end_common.utilities.scp.UpdateRuntimeProcess(connection_selector)[source]

Bases: AbstractMultiConnectionProcess

How to update the target running time of a set of cores.

Note

The cores must be using the simulation interface.

Parameters:

connection_selector (AbstractMultiConnectionProcessConnectionSelector) –

update_runtime(current_time, run_time, infinite_run, core_subsets, n_cores, n_sync_steps)[source]
Parameters:
  • current_time (int) –

  • run_time (int) –

  • infinite_run (bool) –

  • core_subsets (CoreSubsets) –

  • n_cores (int) – Number of cores being updated