Class StateToUtilizationAdapter

java.lang.Object
java.util.Observable
de.uka.ipd.sdq.sensorframework.adapter.DataAdapter
de.uka.ipd.sdq.sensorframework.adapter.StateToUtilizationAdapter
All Implemented Interfaces:
IAdapter

public class StateToUtilizationAdapter extends DataAdapter
Deprecated.
Superseded by EDP2.
Adapter converting StateMeasurement, e.g. for CPU Resource consumption, to Utilization measurements.
  • Field Details

    • IDLE_STATE_REPRESENTATION

      public static final String IDLE_STATE_REPRESENTATION
      Deprecated.
      The textual identifier used in the state description to determine an idling resource. Please note that any other state is considered non-idling.
      See Also:
    • UTILIZATION_WIDTH

      public static final String UTILIZATION_WIDTH
      Deprecated.
      The identifier for the property "Utilization Width".
      See Also:
  • Constructor Details

    • StateToUtilizationAdapter

      public StateToUtilizationAdapter(SensorAndMeasurements sensorAndMeasurements)
      Deprecated.
      Initializes a new adapter for the provided TimeSpanSensor.
      Parameters:
      sensorAndMeasurements - Information about the TimeSpanSensor and the measurements.
  • Method Details

    • initializeUtilizationInterval

      protected void initializeUtilizationInterval()
      Deprecated.
      Sets the initial size of a bucket for which a utilization value is calculated.
    • getAdaptedObject

      public Object getAdaptedObject()
      Deprecated.
      Return the computed visualisation data structure, e.g., a time series, a histogram, etc.
      Returns:
      The adapted object