static enum ProfileServlet.Event extends Enum<ProfileServlet.Event>
Enum Constant and Description |
---|
ALLOC |
BRANCH_MISSES |
BRANCHES |
BUS_CYCLES |
CACHE_MISSES |
CACHE_REFERENCES |
CONTEXT_SWITCHES |
CPU |
CYCLES |
DTLB_LOAD_MISSES |
INSTRUCTIONS |
L1_DCACHE_LOAD_MISSES |
LLC_LOAD_MISSES |
LOCK |
MEM_BREAKPOINT |
PAGE_FAULTS |
TRACE_TRACEPOINT |
Modifier and Type | Field and Description |
---|---|
private String |
internalName |
Modifier and Type | Method and Description |
---|---|
static ProfileServlet.Event |
fromInternalName(String name) |
String |
getInternalName() |
static ProfileServlet.Event |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProfileServlet.Event[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProfileServlet.Event CPU
public static final ProfileServlet.Event ALLOC
public static final ProfileServlet.Event LOCK
public static final ProfileServlet.Event PAGE_FAULTS
public static final ProfileServlet.Event CONTEXT_SWITCHES
public static final ProfileServlet.Event CYCLES
public static final ProfileServlet.Event INSTRUCTIONS
public static final ProfileServlet.Event CACHE_REFERENCES
public static final ProfileServlet.Event CACHE_MISSES
public static final ProfileServlet.Event BRANCHES
public static final ProfileServlet.Event BRANCH_MISSES
public static final ProfileServlet.Event BUS_CYCLES
public static final ProfileServlet.Event L1_DCACHE_LOAD_MISSES
public static final ProfileServlet.Event LLC_LOAD_MISSES
public static final ProfileServlet.Event DTLB_LOAD_MISSES
public static final ProfileServlet.Event MEM_BREAKPOINT
public static final ProfileServlet.Event TRACE_TRACEPOINT
private final String internalName
public static ProfileServlet.Event[] values()
for (ProfileServlet.Event c : ProfileServlet.Event.values()) System.out.println(c);
public static ProfileServlet.Event 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 nullpublic String getInternalName()
public static ProfileServlet.Event fromInternalName(String name)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.