Package one.nio.os.perf
Class PerfCounterGlobal
java.lang.Object
one.nio.os.perf.PerfCounter
one.nio.os.perf.PerfCounterGlobal
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Field Summary
Fields inherited from class one.nio.os.perf.PerfCounter
readFormat -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()longget()longgetForCpu(int cpu) protected long[]getValue()getValueForCpu(int cpu) voidvoidMethods inherited from class one.nio.os.perf.PerfCounter
attachBpf, disable, enable, event, hasReadFormat, newBuffer, nextSample, refresh, reset, toValue
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classPerfCounter
-
get
- Overrides:
getin classPerfCounter- Throws:
IOException
-
getValue
- Overrides:
getValuein classPerfCounter- Throws:
IOException
-
getForCpu
- Throws:
IOException
-
getValueForCpu
- Throws:
IOException
-
getRawValue
- Overrides:
getRawValuein classPerfCounter- Throws:
IOException
-
storeTo
- Throws:
IOException
-
storeTo
- Throws:
IOException
-