public class DuccProcessCpuUsage extends ByteBufferParser implements ProcessCpuUsage
| Modifier and Type | Field and Description |
|---|---|
static int |
SYSTEMJIFFIES |
static int |
USERJIFFIES |
| Constructor and Description |
|---|
DuccProcessCpuUsage(byte[] memInfoBuffer,
int[] memInfoFieldOffsets,
int[] memInfoFiledLengths) |
| Modifier and Type | Method and Description |
|---|---|
long |
getKernelJiffies() |
long |
getTotalJiffies() |
long |
getUserJiffies() |
getFieldAsByteArray, getFieldAsLong, getFieldAsStringpublic static final int USERJIFFIES
public static final int SYSTEMJIFFIES
public DuccProcessCpuUsage(byte[] memInfoBuffer,
int[] memInfoFieldOffsets,
int[] memInfoFiledLengths)
public long getUserJiffies()
getUserJiffies in interface ProcessCpuUsagepublic long getKernelJiffies()
getKernelJiffies in interface ProcessCpuUsagepublic long getTotalJiffies()
getTotalJiffies in interface ProcessCpuUsageCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.