Class Vertex
java.lang.Object
uk.ac.manchester.spinnaker.front_end.download.request.Vertex
Vertex recording region information.
- Author:
- Christian-B
-
Constructor Summary
ConstructorsConstructorDescriptionVertex
(String label, long recordingRegionBaseAddress, int[] recordedRegionIds, DownloadRegion[] downloadRegions) Create a minimal vertex, possibly using an unmarshaller. -
Method Summary
-
Constructor Details
-
Vertex
public Vertex(String label, long recordingRegionBaseAddress, int[] recordedRegionIds, DownloadRegion[] downloadRegions) Create a minimal vertex, possibly using an unmarshaller.- Parameters:
label
- Label as received from Python.recordingRegionBaseAddress
- Address at which to find recording region metadata. This will have been originally allocated by the data specification execution process.recordedRegionIds
- The IDs of the regions doing recording.downloadRegions
- The non-recording regions to download.
-
-
Method Details
-
getRecordedRegionIds
public int[] getRecordedRegionIds()Get the recording region IDs that have been recorded using buffering.- Returns:
- The region numbers that have active recording
-
getBaseAddress
public long getBaseAddress()Get the recording region base address.Unlike the python this value is cached here.
- Returns:
- the base address of the recording region
-
getBase
public uk.ac.manchester.spinnaker.machine.MemoryLocation getBase()Get the recording region base address.- Returns:
- the base address of the recording region
-
getLabel
- Returns:
- The label, as received from Python.
-
getDownloadRegions
- Returns:
- The non-recording regions to download.
-