public class MiniPerfTest extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
MiniPerfTest.Task |
Constructor and Description |
---|
MiniPerfTest() |
Modifier and Type | Method and Description |
---|---|
int |
getDummySum() |
double |
getMax() |
double |
getMean() |
double |
getMin() |
String |
getReport() |
double |
getSum() |
MiniPerfTest |
setIterations(int counts) |
MiniPerfTest |
start(MiniPerfTest.Task m)
Important: Make sure to use the dummy sum in your program somewhere such that it's calculation cannot be skipped
by the JVM.
|
public MiniPerfTest start(MiniPerfTest.Task m)
getDummySum()
or getReport()
after running this method.public MiniPerfTest setIterations(int counts)
public double getMin()
public double getMax()
public double getSum()
public double getMean()
public String getReport()
public int getDummySum()
Copyright © 2012–2023. All rights reserved.