Class ChipSummaryInfo
java.lang.Object
uk.ac.manchester.spinnaker.messages.model.ChipSummaryInfo
public final class ChipSummaryInfo extends Object
Represents the chip summary information read via an SCP command.
-
Field Summary
Fields Modifier and Type Field Description HasChipLocation
chip
The chip that this data is from.List<CPUState>
coreStates
The state of the cores on the chip (list of one per core).InetAddress
ethernetIPAddress
The IP address of the Ethernet if up, ornull
if not.boolean
isEthernetAvailable
Determines if the Ethernet connection is available on this chip.int
largestFreeSDRAMBlock
The size of the largest block of free SDRAM in bytes.int
largestFreeSRAMBlock
The size of the largest block of free SRAM in bytes.ChipLocation
nearestEthernetChip
The location of the nearest Ethernet chip.int
numCores
The number of cores working on the chip (including monitors).int
numFreeMulticastRoutingEntries
The number of multicast routing entries free on this chip.Set<Direction>
workingLinks
The IDs of the working links outgoing from this chip. -
Constructor Summary
Constructors Constructor Description ChipSummaryInfo(ByteBuffer buffer, HasChipLocation source)
-
Method Summary
-
Field Details
-
coreStates
The state of the cores on the chip (list of one per core). -
ethernetIPAddress
The IP address of the Ethernet if up, ornull
if not. -
isEthernetAvailable
public final boolean isEthernetAvailableDetermines if the Ethernet connection is available on this chip. -
largestFreeSDRAMBlock
public final int largestFreeSDRAMBlockThe size of the largest block of free SDRAM in bytes. -
largestFreeSRAMBlock
public final int largestFreeSRAMBlockThe size of the largest block of free SRAM in bytes. -
numCores
public final int numCoresThe number of cores working on the chip (including monitors). -
numFreeMulticastRoutingEntries
public final int numFreeMulticastRoutingEntriesThe number of multicast routing entries free on this chip. -
nearestEthernetChip
The location of the nearest Ethernet chip. -
workingLinks
The IDs of the working links outgoing from this chip. -
chip
The chip that this data is from.
-
-
Constructor Details
-
ChipSummaryInfo
- Parameters:
buffer
- The data from the SCP responsesource
- The coordinates of the chip that this data is from
-