Searched refs:current_window_ms_ (Results 1 – 2 of 2) sorted by relevance
51 current_window_ms_(0), in BitrateEstimator()126 current_window_ms_ = 0; in UpdateWindow()129 current_window_ms_ += now_ms - prev_time_ms_; in UpdateWindow()133 current_window_ms_ %= rate_window_ms; in UpdateWindow()138 if (current_window_ms_ >= rate_window_ms) { in UpdateWindow()141 current_window_ms_ -= rate_window_ms; in UpdateWindow()155 if (current_window_ms_ > 0) in PeekRate()156 return DataSize::Bytes(sum_) / TimeDelta::Millis(current_window_ms_); in PeekRate()
54 int64_t current_window_ms_; variable