Skip to main content

get_commit_data

Function get_commit_data 

Source
fn get_commit_data(_values: &mut HashMap<String, f64>)
Expand description

Read the Windows commit budget via GlobalMemoryStatusEx. Emits mem:commit:used and mem:commit:total (in GB). No-op on non-Windows — keys are simply absent from the payload.