Skip to main content

per_pid_bytes

Function per_pid_bytes 

Source
pub fn per_pid_bytes(
    readings: &[(ParsedInstance, f64)],
    high: i32,
    low: u32,
) -> HashMap<u32, u64>
Expand description

Per-pid byte totals (for the GPU Process Memory Dedicated/Shared Usage streams) on one adapter, summed across a pid’s phys/part instances. Values are raw counter doubles; negatives (a provider glitch) clamp to 0 rather than wrap.