Searched refs:this_window (Results 1 – 2 of 2) sorted by relevance
168 static struct timespec this_window = { in TEST() local173 re = rate_estimator_create(10000, &this_window, 0.0f); in TEST()
2232 unsigned long elapsed, this_window; in add_log_sample() local2257 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() local2336 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()