Skip to main content

parse_proc_interrupts

Function parse_proc_interrupts 

Source
pub fn parse_proc_interrupts(text: &str, cpu: usize) -> Option<CpuInterrupts>
Expand description

Parses /proc/interrupts text for cpu’s column. Rows whose entry in that column is not a number (the trailing descriptions of ERR and MIS) are skipped; the LOC row must be present.