org.apache.jmeter.util
public class Calculator extends Object
Constructor and Description |
---|
Calculator() |
Calculator(String label) |
Modifier and Type | Method and Description |
---|---|
void |
addBytes(long newValue) |
void |
addSample(SampleResult res) |
void |
addValue(long newValue) |
void |
clear() |
double |
getAvgPageBytes()
calculates the average page size, which means divide the bytes by number
of samples.
|
double |
getBytesPerSecond()
Throughput in bytes / second
|
int |
getCount() |
double |
getErrorPercentage()
Returns the raw double value of the percentage of samples with errors
that were recorded.
|
double |
getKBPerSecond()
Throughput in kilobytes / second
|
String |
getLabel() |
long |
getMax() |
double |
getMean() |
Number |
getMeanAsNumber() |
long |
getMin() |
double |
getRate()
Returns the throughput associated to this sampler in requests per second.
|
double |
getStandardDeviation() |
long |
getTotalBytes() |
public Calculator()
public Calculator(String label)
public void clear()
public void addValue(long newValue)
public void addBytes(long newValue)
public void addSample(SampleResult res)
public long getTotalBytes()
public double getMean()
public Number getMeanAsNumber()
public double getStandardDeviation()
public long getMin()
public long getMax()
public int getCount()
public String getLabel()
public double getErrorPercentage()
public double getRate()
public double getAvgPageBytes()
public double getBytesPerSecond()
public double getKBPerSecond()
Copyright © 1998-2014 Apache Software Foundation. All Rights Reserved.