Enum Constant and Description |
---|
DISABLE
disable perf stats
|
ENABLE_COUNT
enable only count stats
|
ENABLE_TIME
enable count and time stats
|
ENABLE_TIME_AND_CPU_TIME_EXCEPT_FOR_MUTEX
Other than time, also measure CPU time counters.
|
ENABLE_TIME_EXCEPT_FOR_MUTEX
Other than count stats, also enable time stats except for mutexes
|
OUT_OF_BOUNDS
Deprecated.
It's here to just keep parity with C++ API.
|
UNINITIALIZED
Unknown setting
|
Modifier and Type | Method and Description |
---|---|
static PerfLevel |
getPerfLevel(byte level) |
byte |
getValue() |
static PerfLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PerfLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PerfLevel UNINITIALIZED
public static final PerfLevel DISABLE
public static final PerfLevel ENABLE_COUNT
public static final PerfLevel ENABLE_TIME_EXCEPT_FOR_MUTEX
public static final PerfLevel ENABLE_TIME_AND_CPU_TIME_EXCEPT_FOR_MUTEX
public static final PerfLevel ENABLE_TIME
@Deprecated public static final PerfLevel OUT_OF_BOUNDS
public static PerfLevel[] values()
for (PerfLevel c : PerfLevel.values()) System.out.println(c);
public static PerfLevel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic byte getValue()
public static PerfLevel getPerfLevel(byte level)