Searched refs:lib_start_count (Results 1 - 6 of 6) sorted by relevance

/external/netperf/src/
H A Dnetcpu_sysctl.c63 static CP_TIME_TYPE lib_start_count[CPUSTATES]; variable
114 sum_busy += lib_end_count[i] - lib_start_count[i];
117 sum_idle = lib_end_count[CP_IDLE] - lib_start_count[CP_IDLE];
127 get_cpu_time(lib_start_count);
H A Dnetcpu_procstat.c38 /* the lib_start_count and lib_end_count arrays hold the starting
61 static cpu_states_t lib_start_count[MAXCPUS]; variable
220 get_cpu(lib_start_count);
279 tick_subtract(lib_start_count[i].user, lib_end_count[i].user);
281 tick_subtract(lib_start_count[i].nice, lib_end_count[i].nice);
283 tick_subtract(lib_start_count[i].sys, lib_end_count[i].sys);
285 tick_subtract(lib_start_count[i].idle, lib_end_count[i].idle);
287 tick_subtract(lib_start_count[i].iowait, lib_end_count[i].iowait);
289 tick_subtract(lib_start_count[i].hard_irq, lib_end_count[i].hard_irq);
291 tick_subtract(lib_start_count[
[all...]
H A Dnetcpu_kstat.c39 /* the lib_start_count and lib_end_count arrays hold the starting
44 static uint64_t lib_start_count[MAXCPUS]; variable
376 if (lib_end_count[i] == lib_start_count[i]) {
380 actual_rate = (lib_end_count[i] > lib_start_count[i]) ?
381 (float)(lib_end_count[i] - lib_start_count[i])/lib_elapsed :
382 (float)(lib_end_count[i] - lib_start_count[i] +
389 lib_start_count[i],
406 get_cpu_idle(lib_start_count);
H A Dnetcpu_looper.c62 /* the lib_start_count and lib_end_count arrays hold the starting
67 static uint64_t lib_start_count[MAXCPUS]; variable
617 if (lib_end_count[i] == lib_start_count[i]) {
621 actual_rate = (lib_end_count[i] > lib_start_count[i]) ?
622 (float)(lib_end_count[i] - lib_start_count[i])/lib_elapsed :
623 (float)(lib_end_count[i] - lib_start_count[i] +
630 (uint32_t)(lib_start_count[i]>>32),
631 (uint32_t)(lib_start_count[i]&0xffffffff),
649 get_cpu_idle(lib_start_count);
H A Dnetcpu_perfstat.c41 /* the lib_start_count and lib_end_count arrays hold the starting
46 static uint64_t lib_start_count[MAXCPUS]; variable
305 if (lib_end_count[i] >= lib_start_count[i]) {
306 diff = lib_end_count[i] - lib_start_count[i];
309 diff = lib_end_count[i] - lib_start_count[i] + LONG_LONG_MAX;
347 get_cpu_idle(lib_start_count);
H A Dnetcpu_pstat.c32 /* the lib_start_count and lib_end_count arrays hold the starting
37 static uint64_t lib_start_count[MAXCPUS]; variable
259 if (lib_end_count[i] >= lib_start_count[i]) {
260 diff = lib_end_count[i] - lib_start_count[i];
263 diff = lib_end_count[i] - lib_start_count[i] + LONG_LONG_MAX;
296 get_cpu_idle(lib_start_count);

Completed in 27 milliseconds