pub fn parse_schedstat_timeslices(
text: &str,
cpu: usize,
) -> Result<u64, ProbeRefusal>Expand description
Parses a /proc/schedstat version 15-17 text for cpu’s timeslice count:
the ninth field of its cpuN line, which sched_info_switch advances for
each task that starts running there (the idle task excluded).