Searched refs:lib_local_cpu_util (Results 1 – 12 of 12) sorted by relevance
231 lib_local_cpu_util = (float)0.0; in calc_cpu_util_internal()267 lib_local_cpu_util += lib_local_per_cpu_util[i]; in calc_cpu_util_internal()279 lib_local_cpu_util /= (float)lib_num_loc_cpus; in calc_cpu_util_internal()283 "calc_cpu_util: average across CPUs is %g\n",lib_local_cpu_util); in calc_cpu_util_internal()286 lib_local_cpu_util *= correction_factor; in calc_cpu_util_internal()290 "calc_cpu_util: returning %g\n",lib_local_cpu_util); in calc_cpu_util_internal()293 return lib_local_cpu_util; in calc_cpu_util_internal()
274 lib_local_cpu_util = (float)0.0; in calc_cpu_util_internal()310 lib_local_cpu_util += lib_local_per_cpu_util[i]; in calc_cpu_util_internal()322 lib_local_cpu_util /= (float)lib_num_loc_cpus; in calc_cpu_util_internal()326 "calc_cpu_util: average across CPUs is %g\n",lib_local_cpu_util); in calc_cpu_util_internal()329 lib_local_cpu_util *= correction_factor; in calc_cpu_util_internal()333 "calc_cpu_util: returning %g\n",lib_local_cpu_util); in calc_cpu_util_internal()336 return lib_local_cpu_util; in calc_cpu_util_internal()
108 lib_local_cpu_util = (float)0.0; in calc_cpu_util_internal()133 lib_local_cpu_util = ((float)userticks + (float)systicks)/(float)totalticks * 100.0f; in calc_cpu_util_internal()134 lib_local_cpu_util *= correction_factor; in calc_cpu_util_internal()136 return lib_local_cpu_util; in calc_cpu_util_internal()
202 lib_local_cpu_util = (float)0.0; in calc_cpu_util_internal()245 lib_local_cpu_util += lib_local_per_cpu_util[i]; in calc_cpu_util_internal()248 lib_local_cpu_util /= (float)lib_num_loc_cpus; in calc_cpu_util_internal()250 lib_local_cpu_util *= correction_factor; in calc_cpu_util_internal()251 return lib_local_cpu_util; in calc_cpu_util_internal()
111 lib_local_cpu_util = (float)sum_busy / (float)(sum_busy + sum_idle); in calc_cpu_util_internal()112 lib_local_cpu_util *= 100.0; in calc_cpu_util_internal()114 return lib_local_cpu_util; in calc_cpu_util_internal()
201 lib_local_cpu_util = (float)0.0; in calc_cpu_util_internal()373 lib_local_cpu_util += lib_local_per_cpu_util[i]; in calc_cpu_util_internal()376 lib_local_cpu_util /= (float)lib_num_loc_cpus; in calc_cpu_util_internal()378 lib_local_cpu_util *= correction_factor; in calc_cpu_util_internal()382 "calc_cpu_util: returning %g\n",lib_local_cpu_util); in calc_cpu_util_internal()385 return lib_local_cpu_util; in calc_cpu_util_internal()
351 lib_local_cpu_util = (float)0.0; in calc_cpu_util_internal()393 lib_local_cpu_util += lib_local_per_cpu_util[i]; in calc_cpu_util_internal()396 lib_local_cpu_util /= (float)lib_num_loc_cpus; in calc_cpu_util_internal()398 lib_local_cpu_util *= correction_factor; in calc_cpu_util_internal()399 return lib_local_cpu_util; in calc_cpu_util_internal()
333 lib_local_cpu_util = (float)0.0; in calc_cpu_util_internal()426 lib_local_cpu_util = -1.0; in calc_cpu_util_internal()537 lib_local_cpu_util += lib_local_per_cpu_util[i]; in calc_cpu_util_internal()540 lib_local_cpu_util /= (float)lib_num_loc_cpus; in calc_cpu_util_internal()542 lib_local_cpu_util *= correction_factor; in calc_cpu_util_internal()543 return lib_local_cpu_util; in calc_cpu_util_internal()
591 lib_local_cpu_util = (float)0.0; in calc_cpu_util_internal()635 lib_local_cpu_util += lib_local_per_cpu_util[i]; in calc_cpu_util_internal()638 lib_local_cpu_util /= (float)lib_num_loc_cpus; in calc_cpu_util_internal()640 lib_local_cpu_util *= correction_factor; in calc_cpu_util_internal()641 return lib_local_cpu_util; in calc_cpu_util_internal()
474 lib_local_cpu_util = (float)0.0; in calc_cpu_util_internal()493 lib_local_cpu_util = (float)ReportPerfCntrs(PerfCntrs); in calc_cpu_util_internal()494 lib_local_cpu_util *= correction_factor; in calc_cpu_util_internal()495 return lib_local_cpu_util; in calc_cpu_util_internal()
436 extern float lib_local_cpu_util;
210 lib_local_cpu_util, variable3181 cpu_utilization = lib_local_cpu_util; in calc_service_demand_internal()