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() |
getValueAndReset
public int getUserHZ() throws IOException
IOException
public Map<String,Long> getDataFrom(CgroupCore core) throws IOException
getDataFrom
in class CGroupMetricsBase<Map<String,Long>>
IOException
Copyright © 2020 The Apache Software Foundation. All rights reserved.