Package one.nio.os.perf
Class PerfOption
- java.lang.Object
-
- one.nio.os.perf.PerfOption
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
PerfOptionGlobalGroup
public class PerfOption extends java.lang.Object implements java.io.Serializable- See Also:
- Serialized Form
-
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protectedPerfOption(java.lang.String name)protectedPerfOption(java.lang.String name, long value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)static PerfOptionformat(int formatType)static PerfOptionfreq(long value)static PerfOptiongroup(PerfCounter leader)inthashCode()static PerfOptionpages(int pages)static PerfOptionperiod(long value)static PerfOptionsample(int sampleType)java.lang.StringtoString()static PerfOptionwakeupBytes(int value)static PerfOptionwakeupEvents(int value)
-
-
-
Field Detail
-
DISABLED
public static final PerfOption DISABLED
-
INHERIT
public static final PerfOption INHERIT
-
EXCLUDE_USER
public static final PerfOption EXCLUDE_USER
-
EXCLUDE_KERNEL
public static final PerfOption EXCLUDE_KERNEL
-
SAMPLE_IP
public static final PerfOption SAMPLE_IP
-
SAMPLE_TID
public static final PerfOption SAMPLE_TID
-
SAMPLE_TIME
public static final PerfOption SAMPLE_TIME
-
SAMPLE_ADDR
public static final PerfOption SAMPLE_ADDR
-
SAMPLE_READ
public static final PerfOption SAMPLE_READ
-
SAMPLE_CALLCHAIN
public static final PerfOption SAMPLE_CALLCHAIN
-
SAMPLE_ID
public static final PerfOption SAMPLE_ID
-
SAMPLE_CPU
public static final PerfOption SAMPLE_CPU
-
SAMPLE_PERIOD
public static final PerfOption SAMPLE_PERIOD
-
SAMPLE_STREAM_ID
public static final PerfOption SAMPLE_STREAM_ID
-
SAMPLE_RAW
public static final PerfOption SAMPLE_RAW
-
SAMPLE_BRANCH_STACK
public static final PerfOption SAMPLE_BRANCH_STACK
-
SAMPLE_REGS_USER
public static final PerfOption SAMPLE_REGS_USER
-
SAMPLE_STACK_USER
public static final PerfOption SAMPLE_STACK_USER
-
SAMPLE_WEIGHT
public static final PerfOption SAMPLE_WEIGHT
-
SAMPLE_DATA_SRC
public static final PerfOption SAMPLE_DATA_SRC
-
SAMPLE_IDENTIFIER
public static final PerfOption SAMPLE_IDENTIFIER
-
SAMPLE_TRANSACTION
public static final PerfOption SAMPLE_TRANSACTION
-
SAMPLE_REGS_INTR
public static final PerfOption SAMPLE_REGS_INTR
-
SAMPLE_PHYS_ADD
public static final PerfOption SAMPLE_PHYS_ADD
-
FORMAT_GROUP
public static final PerfOption FORMAT_GROUP
-
PID_CGROUP
static final PerfOption PID_CGROUP
-
GROUP_GLOBAL
static final java.lang.String GROUP_GLOBAL
- See Also:
- Constant Field Values
-
name
final java.lang.String name
-
value
final long value
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
period
public static PerfOption period(long value)
-
freq
public static PerfOption freq(long value)
-
wakeupEvents
public static PerfOption wakeupEvents(int value)
-
wakeupBytes
public static PerfOption wakeupBytes(int value)
-
sample
public static PerfOption sample(int sampleType)
-
format
public static PerfOption format(int formatType)
-
pages
public static PerfOption pages(int pages)
-
group
public static PerfOption group(PerfCounter leader)
-
-