Package one.nio.os.perf
Class PerfOption
- java.lang.Object
-
- one.nio.os.perf.PerfOption
-
- All Implemented Interfaces:
Serializable
public class PerfOption extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static PerfOptionDISABLEDstatic PerfOptionEXCLUDE_KERNELstatic PerfOptionEXCLUDE_USERstatic PerfOptionFORMAT_GROUPstatic PerfOptionINHERITstatic PerfOptionSAMPLE_ADDRstatic PerfOptionSAMPLE_BRANCH_STACKstatic PerfOptionSAMPLE_CALLCHAINstatic PerfOptionSAMPLE_CPUstatic PerfOptionSAMPLE_DATA_SRCstatic PerfOptionSAMPLE_IDstatic PerfOptionSAMPLE_IDENTIFIERstatic PerfOptionSAMPLE_IPstatic PerfOptionSAMPLE_PERIODstatic PerfOptionSAMPLE_PHYS_ADDstatic PerfOptionSAMPLE_RAWstatic PerfOptionSAMPLE_READstatic PerfOptionSAMPLE_REGS_INTRstatic PerfOptionSAMPLE_REGS_USERstatic PerfOptionSAMPLE_STACK_USERstatic PerfOptionSAMPLE_STREAM_IDstatic PerfOptionSAMPLE_TIDstatic PerfOptionSAMPLE_TIMEstatic PerfOptionSAMPLE_TRANSACTIONstatic PerfOptionSAMPLE_WEIGHT
-
Constructor Summary
Constructors Modifier Constructor Description protectedPerfOption(String name)protectedPerfOption(String name, long value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(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)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
-
-
Method Detail
-
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)
-
-