Lines Matching refs:lib_num_loc_cpus
109 (child_num % lib_num_loc_cpus), in bind_to_processor()
111 lib_num_loc_cpus); in bind_to_processor()
115 SETPROCESS((child_num % lib_num_loc_cpus), getpid()); in bind_to_processor()
130 (child_num % lib_num_loc_cpus), in bind_to_processor()
132 lib_num_loc_cpus); in bind_to_processor()
138 (child_num % lib_num_loc_cpus), in bind_to_processor()
148 if (!SetThreadAffinityMask(GetCurrentThread(), (ULONG_PTR)1 << (child_num % lib_num_loc_cpus))) { in bind_to_processor()
157 (child_num % lib_num_loc_cpus), in bind_to_processor()
158 lib_num_loc_cpus); in bind_to_processor()
215 bind_to_specific_processor(child_index % lib_num_loc_cpus,1); in sit_and_spin()
287 lib_num_loc_cpus); in start_looper_processes()
346 lib_num_loc_cpus, in start_looper_processes()
354 for (i = 0; i < (unsigned int)lib_num_loc_cpus; i++) { in start_looper_processes()
393 for(i = 0; i < (unsigned int)lib_num_loc_cpus; i++) { in start_looper_processes()
453 for (i = 0; i < lib_num_loc_cpus; i++){ in cpu_util_terminate()
465 lib_num_loc_cpus)); in cpu_util_terminate()
516 for (j = 0; j < lib_num_loc_cpus; j++) { in calibrate_idle_rate()
538 for (j = 0; j < lib_num_loc_cpus; j++) { in calibrate_idle_rate()
578 for (i = 0; i < lib_num_loc_cpus; i++){ in get_cpu_idle()
607 for (i = 0; i < lib_num_loc_cpus; i++) { in calc_cpu_util_internal()
640 lib_local_cpu_stats.cpu_util /= (float)lib_num_loc_cpus; in calc_cpu_util_internal()