Home
last modified time | relevance | path

Searched refs:lib_local_cpu_util (Results 1 – 12 of 12) sorted by relevance

/external/netperf/
Dnetcpu_pstat.c231 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()
Dnetcpu_perfstat.c274 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()
Dnetcpu_osx.c108 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()
Dnetcpu_procstat.c202 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()
Dnetcpu_sysctl.c111 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()
Dnetcpu_pstatnew.c201 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()
Dnetcpu_kstat.c351 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()
Dnetcpu_kstat10.c333 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()
Dnetcpu_looper.c591 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()
Dnetcpu_ntperf.c474 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()
Dnetlib.h436 extern float lib_local_cpu_util;
Dnetlib.c210 lib_local_cpu_util, variable
3181 cpu_utilization = lib_local_cpu_util; in calc_service_demand_internal()