public static enum CPUSampler.Mode extends Enum<CPUSampler.Mode>
| Enum Constant and Description |
|---|
EXCLUDE_INLINED_ROOTS
Sample
Roots excluding the ones that get inlined during
compilation. |
ROOTS
Sample
Roots including the ones that get inlined during
compilation. |
STATEMENTS
Sample all
Statements. |
| Modifier and Type | Method and Description |
|---|---|
static CPUSampler.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CPUSampler.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CPUSampler.Mode EXCLUDE_INLINED_ROOTS
Roots excluding the ones that get inlined during
compilation. This mode is the default and has the least amount of impact on peak
performance.public static final CPUSampler.Mode ROOTS
Roots including the ones that get inlined during
compilation.public static final CPUSampler.Mode STATEMENTS
Statements. This mode has serious impact on peek performance.public static CPUSampler.Mode[] values()
public static CPUSampler.Mode 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 null