| |
|
| java.lang.Object org.apache.jmeter.util.Calculator
Calculator | public class Calculator (Code) | | Class to calculate various items that don't require all previous results to be saved:
- mean = average
- standard deviation
- minimum
- maximum
|
Calculator | public Calculator()(Code) | | |
addBytes | public void addBytes(long newValue)(Code) | | |
addValue | public void addValue(long newValue)(Code) | | |
clear | public void clear()(Code) | | |
getAvgPageBytes | public double getAvgPageBytes()(Code) | | calculates the average page size, which means divide the bytes by number
of samples.
average page size in bytes |
getBytesPerSecond | public double getBytesPerSecond()(Code) | | Throughput in bytes / second
throughput in bytes/second |
getCount | public int getCount()(Code) | | |
getErrorPercentage | public double getErrorPercentage()(Code) | | Returns the raw double value of the percentage of samples with errors
that were recorded. (Between 0.0 and 1.0)
the raw double value of the percentage of samples with errorsthat were recorded. |
getKBPerSecond | public double getKBPerSecond()(Code) | | Throughput in kilobytes / second
Throughput in kilobytes / second |
getMax | public long getMax()(Code) | | |
getMean | public double getMean()(Code) | | |
getMin | public long getMin()(Code) | | |
getPageSize | public double getPageSize()(Code) | | calculates the average page size, which means divide the bytes by number
of samples.
This is an ambiguous name, so:
average page size |
getRate | public double getRate()(Code) | | Returns the throughput associated to this sampler in requests per second.
May be slightly skewed because it takes the timestamps of the first and
last samples as the total time passed, and the test may actually have
started before that start time and ended after that end time.
|
getStandardDeviation | public double getStandardDeviation()(Code) | | |
getTotalBytes | public long getTotalBytes()(Code) | | |
|
|
|