Skip to main content

vp_stats

Function vp_stats 

Source
pub fn vp_stats() -> Result<Vec<Option<HclVpStats>>, VpStatsError>
Expand description

Gets the per-VP stats from the kernel, indexed by Linux CPU number.

The kernel only reports online CPUs, so entries for offline CPUs (e.g. ones still managed by sidecar) are None.