pub fn sample_cpu_c2_residency(kernel: &Kernel)Expand description
Samples per-core CPU C2 residency so that C2 residency accrued during system suspend is excluded from awake C2 residency rather than subtracted from C1 idle time.
Call immediately before and after suspending the container so the sampling window tightly brackets each suspend.