Skip to main content

priority_tiers

Function priority_tiers 

Source
pub fn priority_tiers(priorities: &[(usize, i64)]) -> Vec<u64>
Expand description

Packing tiers from (cpu, priority) pairs: equal priorities share a tier, the highest priority is tier 0. Returns the tier per pair, in the order given.