Searched refs:sum (Results 1 – 2 of 2) sorted by relevance
148 let mut sum = 0; in rt_queue_len() localVariable150 sum += self.cpu_queue[cpu_id as usize][prio as usize].get_rt_queue_size(); in rt_queue_len()152 return sum as usize; in rt_queue_len()
727 let total_len: usize = self.0.iter().map(|slice| slice.len()).sum(); in new_buf()