Skip to main content

parse

Function parse 

Source
pub fn parse(
    output: &str,
    at: SystemTime,
    previous: Option<&SystemSample>,
) -> SystemSample
Expand description

The sample in output, the answer of probe_script received at at. The CPU usage is computed from the counters of previous, the sample before it.