Home
last modified time | relevance | path

Searched refs:this_window (Results 1 – 2 of 2) sorted by relevance

/external/adhd/cras/src/tests/
Drate_estimator_unittest.cc168 static struct timespec this_window = { in TEST() local
173 re = rate_estimator_create(10000, &this_window, 0.0f); in TEST()
/external/fio/
Dstat.c2232 unsigned long elapsed, this_window; in add_log_sample() local
2257 this_window = elapsed - iolog->avg_last; in add_log_sample()
2260 else if (this_window < iolog->avg_msec) { in add_log_sample()
2261 int diff = iolog->avg_msec - this_window; in add_log_sample()
2269 iolog->avg_last = elapsed - (this_window - iolog->avg_msec); in add_log_sample()
2314 unsigned long elapsed, this_window; in add_clat_sample() local
2336 this_window = elapsed - hw->hist_last; in add_clat_sample()
2338 if (this_window >= iolog->hist_msec) { in add_clat_sample()
2362 hw->hist_last = elapsed - (this_window - iolog->hist_msec); in add_clat_sample()