Expand description
CPU utilization from /proc/stat: the mean, the hottest core and
the per-core quartiles (SRD-118 §3.1).
Structs§
- CpuReading
- Per-category CPU readings: the mean, the hottest core, and the SHAPE of the per-core distribution.
- CpuTicks
- Cumulative jiffy counts for one
cpuline: (busy, total).
Functions§
- core_
util_ quartiles - Per-core utilization quartiles between two snapshots:
(p25, p50, p75, cores). Same shared-prefix rule asmax_core_util. - cpu_
util - Utilization between two tick snapshots: Δbusy / Δtotal.
- max_
core_ util - The most saturated core between two snapshots. Core lists of different lengths (offline/online between samples) compare over the shared prefix.
- parse_
proc_ stat - Aggregate + per-core cumulative ticks from
/proc/stat.