Skip to main content

snapshot_proc_interrupts

Function snapshot_proc_interrupts 

Source
pub fn snapshot_proc_interrupts() -> Result<String, CounterRefusal>
Expand description

Reads /proc/interrupts whole. It is about 1.4 MB on a 316-CPU machine; the caller parses it after taking its other samples, so parsing time does not widen the interval the counter must cover.