Searched refs:modified_offset (Results 1 – 3 of 3) sorted by relevance
128 void OveruseDetector::UpdateThreshold(double modified_offset, int64_t now_ms) { in UpdateThreshold() argument135 if (fabs(modified_offset) > threshold_ + kMaxAdaptOffsetMs) { in UpdateThreshold()142 const double k = fabs(modified_offset) < threshold_ ? k_down_ : k_up_; in UpdateThreshold()145 threshold_ += k * (fabs(modified_offset) - threshold_) * time_delta_ms; in UpdateThreshold()
44 void UpdateThreshold(double modified_offset, int64_t now_ms);
94 void UpdateThreshold(double modified_offset, int64_t now_ms);