Searched refs:lib_cpu_map (Results 1 – 3 of 3) sorted by relevance
/external/netperf/src/ |
D | netcpu_kstat10.c | 103 lib_cpu_map[i++] = ksp->ks_instance; in cpu_util_init() 162 ksp = kstat_lookup(kc, "cpu", lib_cpu_map[cpu_num], "sys"); in get_cpu_counters() 238 lib_cpu_map[cpu_num], in get_cpu_counters() 255 ksp = kstat_lookup(kc, "cpu", lib_cpu_map[cpu_num], "intrstat"); in get_interrupt_counters() 311 lib_cpu_map[cpu_num], in get_interrupt_counters()
|
D | netlib.c | 214 int lib_cpu_map[MAXCPUS]; variable 1375 lib_cpu_map[i] = mpctl(MPC_GETFIRSTSPU_SYS,0,0); in netlib_init_cpu_map() 1377 lib_cpu_map[i] = mpctl(MPC_GETNEXTSPU_SYS,lib_cpu_map[i-1],0); in netlib_init_cpu_map() 1382 lib_cpu_map[i] = -1; in netlib_init_cpu_map() 1388 lib_cpu_map[i] = i; in netlib_init_cpu_map() 2285 mapped_affinity = lib_cpu_map[processor_affinity]; in bind_to_specific_processor() 3718 lib_local_cpu_stats.peak_cpu_id = lib_cpu_map[i]; in calc_cpu_util()
|
D | netlib.h | 680 extern int lib_cpu_map[];
|