Package org.openjdk.jmh.samples
Class JMHSample_02_BenchmarkModes
- java.lang.Object
-
- org.openjdk.jmh.samples.JMHSample_02_BenchmarkModes
-
- Direct Known Subclasses:
JMHSample_02_BenchmarkModes_jmhType_B1
public class JMHSample_02_BenchmarkModes extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description JMHSample_02_BenchmarkModes()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
void
measureAll()
void
measureAvgTime()
void
measureMultiple()
void
measureSamples()
void
measureSingleShot()
void
measureThroughput()
-
-
-
Method Detail
-
measureThroughput
public void measureThroughput() throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
measureAvgTime
public void measureAvgTime() throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
measureSamples
public void measureSamples() throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
measureSingleShot
public void measureSingleShot() throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
measureMultiple
public void measureMultiple() throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
measureAll
public void measureAll() throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
main
public static void main(java.lang.String[] args) throws RunnerException
- Throws:
RunnerException
-
-