Class UpdateRuntime
java.lang.Object
uk.ac.manchester.spinnaker.messages.sdp.SpinnakerRequest
uk.ac.manchester.spinnaker.messages.scp.SCPRequest<T>
uk.ac.manchester.spinnaker.messages.scp.FECRequest<EmptyResponse>
uk.ac.manchester.spinnaker.messages.scp.UpdateRuntime
- All Implemented Interfaces:
SerializableMessage
A request to update the runtime info on a core. There is no response
payload.
This calls simulation_control_scp_callback() in simulation.c.
-
Field Summary
Fields inherited from class uk.ac.manchester.spinnaker.messages.scp.SCPRequest
argument1, argument2, argument3, BOOT_CHIP, BOOT_MONITOR_CORE, data, NO_DATA, scpRequestHeaderFields inherited from class uk.ac.manchester.spinnaker.messages.sdp.SpinnakerRequest
sdpHeader -
Constructor Summary
ConstructorsConstructorDescriptionUpdateRuntime(HasCoreLocation core, int runTime, boolean infiniteRun, int currentTime, int numSyncSteps) -
Method Summary
Modifier and TypeMethodDescriptiongetSCPResponse(ByteBuffer buffer) Parse the response to this message.Methods inherited from class uk.ac.manchester.spinnaker.messages.scp.SCPRequest
addToBufferMethods inherited from class uk.ac.manchester.spinnaker.messages.sdp.SpinnakerRequest
getMessageData
-
Constructor Details
-
UpdateRuntime
public UpdateRuntime(HasCoreLocation core, int runTime, boolean infiniteRun, int currentTime, int numSyncSteps) - Parameters:
core- The SpiNNaker core to update the runtime info of.runTime- The number of machine timesteps.infiniteRun- Whether we are doing infinite running.currentTime- The current simulation time.numSyncSteps- The number of timesteps before we pause to synchronise.
-
-
Method Details
-
getSCPResponse
Description copied from class:SCPRequestParse the response to this message.- Specified by:
getSCPResponsein classSCPRequest<EmptyResponse>- Parameters:
buffer- The buffer to parse.- Returns:
- The message response.
- Throws:
UnexpectedResponseCodeException
-