spinn_front_end_common.utilities.utility_objs.extra_monitor_scp_messages package

Module contents

class spinn_front_end_common.utilities.utility_objs.extra_monitor_scp_messages.ClearReinjectionQueueMessage(x, y, p)[source]

Bases: spinnman.messages.scp.abstract_messages.scp_request.AbstractSCPRequest

An SCP Request to set the dropped packet reinjected packet types.

Parameters:
  • x (int) – The x-coordinate of a chip, between 0 and 255
  • y (int) – The y-coordinate of a chip, between 0 and 255
  • p (int) – The processor running the extra monitor vertex, between 0 and 17
get_scp_response()[source]

Get an SCP response message to be used to process any response received.

Returns:An SCP response, or None if no response is required
Return type:AbstractSCPResponse
class spinn_front_end_common.utilities.utility_objs.extra_monitor_scp_messages.GetReinjectionStatusMessage(x, y, p)[source]

Bases: spinnman.messages.scp.abstract_messages.scp_request.AbstractSCPRequest

An SCP Request to get the status of the dropped packet reinjection.

Parameters:
  • x (int) – The x-coordinate of a chip, between 0 and 255
  • y (int) – The y-coordinate of a chip, between 0 and 255
  • p (int) – The processor running the extra monitor vertex, between 0 and 17
get_scp_response()[source]

Get an SCP response message to be used to process any response received.

Returns:An SCP response, or None if no response is required
Return type:AbstractSCPResponse
class spinn_front_end_common.utilities.utility_objs.extra_monitor_scp_messages.GetReinjectionStatusMessageResponse(command_code)[source]

Bases: spinnman.messages.scp.abstract_messages.scp_response.AbstractSCPResponse

An SCP response to a request for the dropped packet reinjection status

read_data_bytestring(data, offset)[source]

Reads the remainder of the data following the header.

Parameters:
  • data (bytes) – The bytestring to read from
  • offset (int) – The offset into the data after the headers
reinjection_functionality_status
class spinn_front_end_common.utilities.utility_objs.extra_monitor_scp_messages.LoadApplicationMCRoutesMessage(x, y, p)[source]

Bases: spinnman.messages.scp.abstract_messages.scp_request.AbstractSCPRequest

An SCP Request to write the application multicast routes into the router.

Parameters:
  • x (int) – The x-coordinate of a chip, between 0 and 255
  • y (int) – The y-coordinate of a chip, between 0 and 255
  • p (int) – The processor running the extra monitor vertex, between 0 and 17
get_scp_response()[source]

Get an SCP response message to be used to process any response received.

Returns:An SCP response, or None if no response is required
Return type:AbstractSCPResponse
class spinn_front_end_common.utilities.utility_objs.extra_monitor_scp_messages.LoadSystemMCRoutesMessage(x, y, p)[source]

Bases: spinnman.messages.scp.abstract_messages.scp_request.AbstractSCPRequest

An SCP Request to write the system multicast routes into the router.

Parameters:
  • x (int) – The x-coordinate of a chip, between 0 and 255
  • y (int) – The y-coordinate of a chip, between 0 and 255
  • p (int) – The processor running the extra monitor vertex, between 0 and 17
get_scp_response()[source]

Get an SCP response message to be used to process any response received.

Returns:An SCP response, or None if no response is required
Return type:AbstractSCPResponse
class spinn_front_end_common.utilities.utility_objs.extra_monitor_scp_messages.ResetCountersMessage(x, y, p)[source]

Bases: spinnman.messages.scp.abstract_messages.scp_request.AbstractSCPRequest

An SCP Request to reset the statistics counters of the dropped packet reinjection.

Parameters:
  • x (int) – The x-coordinate of a chip, between 0 and 255
  • y (int) – The y-coordinate of a chip, between 0 and 255
  • p (int) – The processor running the extra monitor vertex, between 0 and 17
get_scp_response()[source]

Get an SCP response message to be used to process any response received.

Returns:An SCP response, or None if no response is required
Return type:AbstractSCPResponse
class spinn_front_end_common.utilities.utility_objs.extra_monitor_scp_messages.SetReinjectionPacketTypesMessage(x, y, p, multicast, point_to_point, fixed_route, nearest_neighbour)[source]

Bases: spinnman.messages.scp.abstract_messages.scp_request.AbstractSCPRequest

An SCP Request to set the dropped packet reinjected packet types.

Parameters:
  • x (int) – The x-coordinate of a chip, between 0 and 255
  • y (int) – The y-coordinate of a chip, between 0 and 255
  • p (int) – The processor running the extra monitor vertex, between 0 and 17
  • point_to_point (bool) – If point to point should be set
  • multicast (bool) – If multicast should be set
  • nearest_neighbour (bool) – If nearest neighbour should be set
  • fixed_route (bool) – If fixed route should be set
get_scp_response()[source]

Get an SCP response message to be used to process any response received.

Returns:An SCP response, or None if no response is required
Return type:AbstractSCPResponse
class spinn_front_end_common.utilities.utility_objs.extra_monitor_scp_messages.SetRouterTimeoutMessage(x, y, p, timeout_mantissa, timeout_exponent, wait=1)[source]

Bases: spinnman.messages.scp.abstract_messages.scp_request.AbstractSCPRequest

An SCP Request to the extra monitor core to set the router timeout for dropped packet reinjection.

Parameters:
  • x (int) – The x-coordinate of a chip, between 0 and 255
  • y (int) – The y-coordinate of a chip, between 0 and 255
  • p (int) – The processor running the extra monitor vertex, between 0 and 17
  • timeout_mantissa (int) – The mantissa of the timeout value, between 0 and 15
  • timeout_exponent (int) – The exponent of the timeout value, between 0 and 15
  • wait (int) – Which wait to set. Should be 1 or 2.
get_scp_response()[source]

Get an SCP response message to be used to process any response received.

Returns:An SCP response, or None if no response is required
Return type:AbstractSCPResponse