OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:lib_local_cpu_stats
(Results
1 - 13
of
13
) sorted by null
/external/netperf/src/
netcpu_sysctl.c
110
memset(&
lib_local_cpu_stats
, 0, sizeof(
lib_local_cpu_stats
));
118
lib_local_cpu_stats
.cpu_util = (float)sum_busy / (float)(sum_busy + sum_idle);
119
lib_local_cpu_stats
.cpu_util *= 100.0;
121
return
lib_local_cpu_stats
.cpu_util;
netcpu_osx.c
114
memset(&
lib_local_cpu_stats
, 0, sizeof(
lib_local_cpu_stats
));
140
lib_local_cpu_stats
.cpu_util = ((float)userticks
142
lib_local_cpu_stats
.cpu_util *= correction_factor;
144
return
lib_local_cpu_stats
.cpu_util;
netcpu_procstat.c
255
memset(&
lib_local_cpu_stats
, 0, sizeof(
lib_local_cpu_stats
));
312
lib_local_cpu_stats
.cpu_util += lib_local_per_cpu_util[i];
313
lib_local_cpu_stats
.cpu_user += CPU_STAT_PERCENTIZE(diff.user);
314
lib_local_cpu_stats
.cpu_system += CPU_STAT_PERCENTIZE(diff.sys);
315
lib_local_cpu_stats
.cpu_iowait += CPU_STAT_PERCENTIZE(diff.iowait);
316
lib_local_cpu_stats
.cpu_irq += CPU_STAT_PERCENTIZE(diff.hard_irq);
317
lib_local_cpu_stats
.cpu_swintr += CPU_STAT_PERCENTIZE(diff.soft_irq);
342
lib_local_cpu_stats
.fldname = ((correction_factor \
343
*
lib_local_cpu_stats
.fldname)
[
all
...]
netcpu_perfstat.c
278
memset(&
lib_local_cpu_stats
, 0, sizeof(
lib_local_cpu_stats
));
314
lib_local_cpu_stats
.cpu_util += lib_local_per_cpu_util[i];
326
lib_local_cpu_stats
.cpu_util /= (float)lib_num_loc_cpus;
331
lib_local_cpu_stats
.cpu_util);
334
lib_local_cpu_stats
.cpu_util *= correction_factor;
338
"calc_cpu_util: returning %g\n",
lib_local_cpu_stats
.cpu_util);
341
return
lib_local_cpu_stats
.cpu_util;
netcpu_pstat.c
231
memset(&
lib_local_cpu_stats
, 0, sizeof(
lib_local_cpu_stats
));
269
lib_local_cpu_stats
.cpu_util += lib_local_per_cpu_util[i];
282
lib_local_cpu_stats
.cpu_util /= (float)lib_num_loc_cpus;
287
lib_local_cpu_stats
.cpu_util);
290
return
lib_local_cpu_stats
.cpu_util;
netcpu_pstatnew.c
238
memset(&
lib_local_cpu_stats
, 0, sizeof(
lib_local_cpu_stats
));
423
lib_local_cpu_stats
.cpu_util += lib_local_per_cpu_util[i];
426
lib_local_cpu_stats
.cpu_util /= (float)lib_num_loc_cpus;
431
lib_local_cpu_stats
.cpu_util);
434
return
lib_local_cpu_stats
.cpu_util;
netcpu_kstat.c
351
memset(&
lib_local_cpu_stats
, 0, sizeof(
lib_local_cpu_stats
));
395
lib_local_cpu_stats
.cpu_util += lib_local_per_cpu_util[i];
398
lib_local_cpu_stats
.cpu_util /= (float)lib_num_loc_cpus;
400
return
lib_local_cpu_stats
.cpu_util;
netcpu_kstat10.c
374
memset(&
lib_local_cpu_stats
, 0, sizeof(
lib_local_cpu_stats
));
465
lib_local_cpu_stats
.cpu_util = -1.0;
577
lib_local_cpu_stats
.cpu_util += lib_local_per_cpu_util[i];
580
lib_local_cpu_stats
.cpu_util /= (float)lib_num_loc_cpus;
582
return
lib_local_cpu_stats
.cpu_util;
netcpu_looper.c
592
memset(&
lib_local_cpu_stats
, 0, sizeof(
lib_local_cpu_stats
));
638
lib_local_cpu_stats
.cpu_util += lib_local_per_cpu_util[i];
641
lib_local_cpu_stats
.cpu_util /= (float)lib_num_loc_cpus;
643
return
lib_local_cpu_stats
.cpu_util;
netcpu_ntperf.c
455
memset(&
lib_local_cpu_stats
, 0, sizeof(
lib_local_cpu_stats
));
475
lib_local_cpu_stats
.cpu_util = (float)ReportPerfCntrs(PerfCntrs);
476
lib_local_cpu_stats
.cpu_util *= correction_factor;
477
return
lib_local_cpu_stats
.cpu_util;
nettest_omni.c
[
all
...]
netlib.c
199
lib_local_cpu_stats
,
variable in typeref:struct:cpu_stats_struct
[
all
...]
netlib.h
498
extern struct cpu_stats_struct
lib_local_cpu_stats
;
Completed in 2205 milliseconds