Searched refs:cpu_num (Results 1 – 2 of 2) sorted by relevance
60 let cpu_num = CPU_NUM.load(core::sync::atomic::Ordering::SeqCst); in new() localVariable61 if cpu_num == 0 { in new()65 if data.len() != cpu_num { in new()
45 let cpu_num = unsafe { smp_get_total_cpu() }; in loads_balance() localVariable49 for cpu_id in 0..cpu_num { in loads_balance()