Home
last modified time | relevance | path

Searched refs:secondcnt (Results 1 – 4 of 4) sorted by relevance

/external/netperf/src/
Dnetcpu_pstat.c103 secondcnt[MAXCPUS]; in calibrate_idle_rate() local
183 overlay = (union overlay_u *)&(secondcnt[j]); in calibrate_idle_rate()
195 hi_32(&secondcnt[j]), in calibrate_idle_rate()
196 lo_32(&secondcnt[j])); in calibrate_idle_rate()
198 temp_rate = (secondcnt[j] >= firstcnt[j]) ? in calibrate_idle_rate()
199 (float)(secondcnt[j] - firstcnt[j] )/elapsed : in calibrate_idle_rate()
200 (float)(secondcnt[j] - firstcnt[j] + LONG_LONG_MAX)/elapsed; in calibrate_idle_rate()
Dnetcpu_perfstat.c120 secondcnt[MAXCPUS]; in calibrate_idle_rate() local
235 secondcnt[j] = per_cpu_pointer->idle; in calibrate_idle_rate()
246 secondcnt[j], in calibrate_idle_rate()
247 secondcnt[j]); in calibrate_idle_rate()
251 temp_rate = (secondcnt[j] >= firstcnt[j]) ? in calibrate_idle_rate()
252 (float)(secondcnt[j] - firstcnt[j])/elapsed : in calibrate_idle_rate()
253 (float)(secondcnt[j]-firstcnt[j]+MAXLONG)/elapsed; in calibrate_idle_rate()
Dnetcpu_kstat.c254 secondcnt[MAXCPUS]; in calibrate_idle_rate() local
311 secondcnt[j] = get_kstat_idle(j); in calibrate_idle_rate()
321 secondcnt[j], in calibrate_idle_rate()
322 secondcnt[j]); in calibrate_idle_rate()
326 temp_rate = (secondcnt[j] >= firstcnt[j]) ? in calibrate_idle_rate()
327 (float)(secondcnt[j] - firstcnt[j])/elapsed : in calibrate_idle_rate()
328 (float)(secondcnt[j]-firstcnt[j]+MAXLONG)/elapsed; in calibrate_idle_rate()
Dnetcpu_looper.c489 secondcnt[MAXCPUS]; in calibrate_idle_rate() local
539 secondcnt[j] = *(lib_idle_address[j]); in calibrate_idle_rate()
549 (uint32_t)(secondcnt[j]>>32), in calibrate_idle_rate()
550 (uint32_t)(secondcnt[j]&0xffffffff)); in calibrate_idle_rate()
554 temp_rate = (secondcnt[j] >= firstcnt[j]) ? in calibrate_idle_rate()
555 (float)(secondcnt[j] - firstcnt[j])/elapsed : in calibrate_idle_rate()
556 (float)(secondcnt[j]-firstcnt[j]+MAXLONG)/elapsed; in calibrate_idle_rate()