Class RecordingRegion
java.lang.Object
uk.ac.manchester.spinnaker.front_end.download.RecordingRegion
public final class RecordingRegion extends Object
A descriptor about a channel of recording data.
Must match recording_region_t
in recording.h
in
SpiNNFrontEndCommon.
Do not use as a hash key.
-
Field Summary
-
Method Summary
Modifier and Type Method Description static List<RecordingRegion>
getRecordingRegionDescriptors(TransceiverInterface txrx, Placement placement)
Reads the recording regions from the machine.String
toString()
-
Field Details
-
SIZE
public static final int SIZESize of the channel data on the machine.4 for
space
, 4 formissing_flag + size
, 4 fordata
- See Also:
- Constant Field Values
-
space
public final long spaceThe size of the space available. (32-bits; unsigned)Not currently used significantly by the Java code
-
missing
public final boolean missingIf there is any missing information. (1-bit) -
size
public final long sizeThe size of the recording in bytes. (31-bits; unsigned) -
data
The data memory address. (32-bits; unsigned)
-
-
Method Details
-
toString
-
getRecordingRegionDescriptors
public static List<RecordingRegion> getRecordingRegionDescriptors(TransceiverInterface txrx, Placement placement) throws IOException, ProcessException, InterruptedExceptionReads the recording regions from the machine.- Parameters:
txrx
- Transceiver to read withplacement
- The core to read the data from- Returns:
- A list of recording region descriptors read from the machine, one per channel that the recording subsystem there knows about.
- Throws:
IOException
- If the reading goes wrongProcessException
- If the data in the read goes wrongInterruptedException
- If communications are interrupted.
-