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

/external/netperf/
H A Dnetcpu_sysctl.c58 static long lib_start_count[CPUSTATES]; variable
107 sum_busy += lib_end_count[i] - lib_start_count[i];
110 sum_idle = lib_end_count[CP_IDLE] - lib_start_count[CP_IDLE];
120 get_cpu_time(lib_start_count);
H A Dnetcpu_procstat.c38 /* the lib_start_count and lib_end_count arrays hold the starting
43 static uint64_t lib_start_count[MAXCPUS]; variable
184 get_cpu_idle(lib_start_count);
226 if (lib_end_count[i] == lib_start_count[i]) {
230 actual_rate = (lib_end_count[i] > lib_start_count[i]) ?
231 (float)(lib_end_count[i] - lib_start_count[i])/lib_elapsed :
232 (float)(lib_end_count[i] - lib_start_count[i] +
241 lib_start_count[i],
257 get_cpu_idle(lib_start_count);
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
375 if (lib_end_count[i] == lib_start_count[i]) {
379 actual_rate = (lib_end_count[i] > lib_start_count[i]) ?
380 (float)(lib_end_count[i] - lib_start_count[i])/lib_elapsed :
381 (float)(lib_end_count[i] - lib_start_count[i] +
388 lib_start_count[i],
407 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
616 if (lib_end_count[i] == lib_start_count[i]) {
620 actual_rate = (lib_end_count[i] > lib_start_count[i]) ?
621 (float)(lib_end_count[i] - lib_start_count[i])/lib_elapsed :
622 (float)(lib_end_count[i] - lib_start_count[i] +
629 (uint32_t)(lib_start_count[i]>>32),
630 (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
301 if (lib_end_count[i] >= lib_start_count[i]) {
302 diff = lib_end_count[i] - lib_start_count[i];
305 diff = lib_end_count[i] - lib_start_count[i] + LONG_LONG_MAX;
342 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
258 if (lib_end_count[i] >= lib_start_count[i]) {
259 diff = lib_end_count[i] - lib_start_count[i];
262 diff = lib_end_count[i] - lib_start_count[i] + LONG_LONG_MAX;
299 get_cpu_idle(lib_start_count);

Completed in 243 milliseconds