pub fn parse_cpu_capacity(s: &str) -> Result<BTreeMap<usize, u32>, String>