public static enum AuxCounters.Type extends Enum<AuxCounters.Type>
Enum Constant and Description |
---|
EVENTS
Counts "events", the one-off things in the lifetime of workload.
|
OPERATIONS
Counts "operations", which should be relevant to the number of
times
Benchmark method was executed. |
Modifier and Type | Method and Description |
---|---|
static AuxCounters.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuxCounters.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuxCounters.Type OPERATIONS
Benchmark
method was executed. If this counter is
incremented on each Benchmark
method invocation, then it
will produce a metric similar to the primary benchmark result.
This counter will be normalized to benchmark time by the harness.public static final AuxCounters.Type EVENTS
public static AuxCounters.Type[] values()
for (AuxCounters.Type c : AuxCounters.Type.values()) System.out.println(c);
public static AuxCounters.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2012–2020 Oracle. All rights reserved.