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