Class ResourceUsage

java.lang.Object
uk.ac.manchester.spinnaker.alloc.nmpi.ResourceUsage

public class ResourceUsage extends Object
An NMPI Resource Usage object.
  • Field Details

  • 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

      public String getUnits()
      Get the units of the usage.
      Returns:
      The units.
    • setUnits

      public void setUnits(String units)
      Set the units of the usage.
      Parameters:
      units - The units to set.