Class ResourceUsage
java.lang.Object
uk.ac.manchester.spinnaker.alloc.nmpi.ResourceUsage
An NMPI Resource Usage object.
- 
Field Details- 
BOARD_SECONDSThe resource usage in board seconds.- See Also:
 
- 
CORE_HOURSThe resource usage in core hours.- See Also:
 
 
- 
- 
Constructor Details- 
ResourceUsagepublic ResourceUsage()
 
- 
- 
Method Details- 
getValuepublic double getValue()Get the value of the usage.- Returns:
- The value.
 
- 
setValuepublic void setValue(double value) Set the value of the usage.- Parameters:
- value- The value to set.
 
- 
getUnitsGet the units of the usage.- Returns:
- The units.
 
- 
setUnitsSet the units of the usage.- Parameters:
- units- The units to set.
 
 
-