public class CGroupCpu extends CGroupMetricsBase<Map<String,Long>>
Report CPU used in the cgroup.
| Modifier and Type | Method and Description |
|---|---|
Map<String,Long> |
getDataFrom(CgroupCore core) |
int |
getUserHZ() |
getValueAndResetpublic int getUserHZ()
throws IOException
IOExceptionpublic Map<String,Long> getDataFrom(CgroupCore core) throws IOException
getDataFrom in class CGroupMetricsBase<Map<String,Long>>IOExceptionCopyright © 2019 The Apache Software Foundation. All rights reserved.