Skip to main content

add_compact_values

Function add_compact_values 

Source
pub fn add_compact_values(values: &mut HashMap<String, f64>)
Expand description

Puts the status bar’s GPU figures, gpu and gpu:mem, in a telemetry tick’s values: read every few seconds by the one sampler (module doc) and repeated in the ticks between. Nothing is put in while nothing is readable, so the meter is hidden, not shown as 0%.