Skip to main content

parse_cpu_stat

Function parse_cpu_stat 

Source
pub fn parse_cpu_stat(body: &str) -> Option<CgroupCpuStat>
Expand description

Parses the body of a cgroup v2 cpu.stat file. usage_usec is required; the throttling counters are absent when the cpu controller has no limit.