public class PerfCounterGlobal extends PerfCounter
readFormat| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
get() |
long |
getForCpu(int cpu) |
protected long[] |
getRawValue() |
CounterValue |
getValue() |
LocalValue |
getValueForCpu(int cpu) |
void |
storeTo(BpfMap map) |
void |
storeTo(BpfMap map,
int cpu) |
attachBpf, disable, enable, event, hasReadFormat, newBuffer, nextSample, refresh, reset, toValuepublic void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class PerfCounterpublic long get()
throws java.io.IOException
get in class PerfCounterjava.io.IOExceptionpublic CounterValue getValue() throws java.io.IOException
getValue in class PerfCounterjava.io.IOExceptionpublic long getForCpu(int cpu)
throws java.io.IOException
java.io.IOExceptionpublic LocalValue getValueForCpu(int cpu) throws java.io.IOException
java.io.IOExceptionprotected long[] getRawValue()
throws java.io.IOException
getRawValue in class PerfCounterjava.io.IOExceptionpublic void storeTo(BpfMap map) throws java.io.IOException
java.io.IOExceptionpublic void storeTo(BpfMap map, int cpu) throws java.io.IOException
java.io.IOException