rw_resource_util::cpu

Function get_cpu_limit_v2

source
pub fn get_cpu_limit_v2(limit_path: &str, max_value: f32) -> Result<f32, Error>
Expand description

Returns the CPU limit when cgroup v2 is utilised.