Package org.openjdk.jmh.annotations
Annotation Type Threads
Threads annotation provides the default number of threads to run.
This annotation may be put at Benchmark
method to have effect
on that method only, or at the enclosing class instance to have the effect
over all Benchmark
methods in the class. This annotation may be
overridden with the runtime options.
-
Required Element Summary
Required Elements -
Field Summary
Fields
-
Field Details
-
MAX
static final int MAXThe magic value for MAX threads. This means Runtime.getRuntime().availableProcessors() threads.- See Also:
-
-
Element Details
-
value
int value- Returns:
- Number of threads; use Threads.MAX to run with all available threads.
-