edu.rice.cs.hpc.data.experiment.metric.MetricValue Class Reference

A value of a metric at some scope. More...

Collaboration diagram for edu.rice.cs.hpc.data.experiment.metric.MetricValue:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MetricValue ()
 MetricValue (double value, double annotation)
 MetricValue (double value)
float getValue ()
String toString ()
MetricValue duplicate ()

Static Public Member Functions

static void setAnnotationAvailable (MetricValue m, boolean status)
static boolean isAvailable (MetricValue m)
static float getValue (MetricValue m)
static void setValue (MetricValue m, double value)
static boolean isAnnotationAvailable (MetricValue m)
static float getAnnotationValue (MetricValue m)
static void setAnnotationValue (MetricValue m, double annotation)
static void setAnnotationValue (MetricValue m, float annotation)
static boolean isZero (MetricValue m)
static int compareTo (MetricValue left, MetricValue right)

Static Public Attributes

static final MetricValue NONE = new MetricValue(-1)
 The distinguished metric value indicating no data.

Protected Attributes

float value
 The actual value if available.
float annotation
 The annotation value if available.
byte flags

Static Protected Attributes

static final byte VALUE_IS_AVAILABLE = 1
static final byte ANNOTATION_IS_AVAILABLE = 2

Static Private Member Functions

static boolean getAvailable (MetricValue m)
static void setAvailable (MetricValue m, boolean status)
static boolean getAnnotationAvailable (MetricValue m)

Detailed Description

A value of a metric at some scope.

Definition at line 34 of file MetricValue.java.


Constructor & Destructor Documentation

edu.rice.cs.hpc.data.experiment.metric.MetricValue.MetricValue (  ) 
edu.rice.cs.hpc.data.experiment.metric.MetricValue.MetricValue ( double  value,
double  annotation 
)
edu.rice.cs.hpc.data.experiment.metric.MetricValue.MetricValue ( double  value  ) 

Member Function Documentation

static int edu.rice.cs.hpc.data.experiment.metric.MetricValue.compareTo ( MetricValue  left,
MetricValue  right 
) [static]
MetricValue edu.rice.cs.hpc.data.experiment.metric.MetricValue.duplicate (  ) 
static boolean edu.rice.cs.hpc.data.experiment.metric.MetricValue.getAnnotationAvailable ( MetricValue  m  )  [static, private]
static float edu.rice.cs.hpc.data.experiment.metric.MetricValue.getAnnotationValue ( MetricValue  m  )  [static]
static boolean edu.rice.cs.hpc.data.experiment.metric.MetricValue.getAvailable ( MetricValue  m  )  [static, private]
static float edu.rice.cs.hpc.data.experiment.metric.MetricValue.getValue ( MetricValue  m  )  [static]
float edu.rice.cs.hpc.data.experiment.metric.MetricValue.getValue (  ) 
static boolean edu.rice.cs.hpc.data.experiment.metric.MetricValue.isAnnotationAvailable ( MetricValue  m  )  [static]
static boolean edu.rice.cs.hpc.data.experiment.metric.MetricValue.isAvailable ( MetricValue  m  )  [static]
static boolean edu.rice.cs.hpc.data.experiment.metric.MetricValue.isZero ( MetricValue  m  )  [static]
static void edu.rice.cs.hpc.data.experiment.metric.MetricValue.setAnnotationAvailable ( MetricValue  m,
boolean  status 
) [static]
static void edu.rice.cs.hpc.data.experiment.metric.MetricValue.setAnnotationValue ( MetricValue  m,
float  annotation 
) [static]
static void edu.rice.cs.hpc.data.experiment.metric.MetricValue.setAnnotationValue ( MetricValue  m,
double  annotation 
) [static]
static void edu.rice.cs.hpc.data.experiment.metric.MetricValue.setAvailable ( MetricValue  m,
boolean  status 
) [static, private]
static void edu.rice.cs.hpc.data.experiment.metric.MetricValue.setValue ( MetricValue  m,
double  value 
) [static]
String edu.rice.cs.hpc.data.experiment.metric.MetricValue.toString (  ) 

Member Data Documentation


The documentation for this class was generated from the following file:

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1