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

/external/netperf/src/
H A Dnetcpu_sysctl.c64 static CP_TIME_TYPE lib_end_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];
133 get_cpu_time(lib_end_count);
H A Dnetcpu_procstat.c38 /* the lib_start_count and lib_end_count arrays hold the starting
62 static cpu_states_t lib_end_count[MAXCPUS]; variable
227 get_cpu(lib_end_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[i].soft_irq, lib_end_count[
[all...]
H A Dnetcpu_kstat.c39 /* the lib_start_count and lib_end_count arrays hold the starting
45 static uint64_t lib_end_count[MAXCPUS]; variable
376 if (lib_end_count[i] == lib_start_count[i]) {
377 lib_end_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] +
390 lib_end_count[i]);
413 get_cpu_idle(lib_end_count);
H A Dnetcpu_looper.c62 /* the lib_start_count and lib_end_count arrays hold the starting
68 static uint64_t lib_end_count[MAXCPUS]; variable
617 if (lib_end_count[i] == lib_start_count[i]) {
618 lib_end_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] +
632 (uint32_t)(lib_end_count[i]>>32),
633 (uint32_t)(lib_end_count[i]&0xffffffff));
656 get_cpu_idle(lib_end_count);
[all...]
H A Dnetcpu_perfstat.c41 /* the lib_start_count and lib_end_count arrays hold the starting
47 static uint64_t lib_end_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;
354 get_cpu_idle(lib_end_count);
H A Dnetcpu_pstat.c32 /* the lib_start_count and lib_end_count arrays hold the starting
38 static uint64_t lib_end_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;
303 get_cpu_idle(lib_end_count);

Completed in 100 milliseconds