| java.lang.Object com.versant.core.metric.Metric com.versant.core.metric.DerivedMetric com.versant.core.metric.DifferenceMetric
DifferenceMetric | public class DifferenceMetric extends DerivedMetric (Code) | | A performance metric that is the difference of two other metrics.
|
Constructor Summary | |
public | DifferenceMetric(String name, String displayName, String category, String descr, Metric[] args) | public | DifferenceMetric(String name, String displayName, String category, String descr, Metric metricA, Metric metricB, int defaultCalc, int decimals) |
Method Summary | |
public double | get(MetricDataSource dataSet, int firstSampleNo, int lastSampleNo, int calc, double seconds) Get the value of this metric for the given range of samples in the
data set. | public int | getArgCount() How many arguments does this metric accept? Return 0 for any number
of arguments. | public int | getDefaultCalc() What calculation method makes the most sense for this Metric. |
get | public double get(MetricDataSource dataSet, int firstSampleNo, int lastSampleNo, int calc, double seconds)(Code) | | Get the value of this metric for the given range of samples in the
data set.
Parameters: dataSet - The raw data Parameters: firstSampleNo - The first sample Parameters: lastSampleNo - The last sample (inclusive) Parameters: calc - The duration of the sample range in seconds |
getArgCount | public int getArgCount()(Code) | | How many arguments does this metric accept? Return 0 for any number
of arguments.
|
getDefaultCalc | public int getDefaultCalc()(Code) | | What calculation method makes the most sense for this Metric.
|
Methods inherited from com.versant.core.metric.DerivedMetric | abstract public int getArgCount()(Code)(Java Doc)
|
|
|