Searched refs:modified_offset (Results 1 – 2 of 2) sorted by relevance
122 void OveruseDetector::UpdateThreshold(double modified_offset, int64_t now_ms) { in UpdateThreshold() argument129 if (fabs(modified_offset) > threshold_ + kMaxAdaptOffsetMs) { in UpdateThreshold()136 const double k = fabs(modified_offset) < threshold_ ? k_down_ : k_up_; in UpdateThreshold()138 k * (fabs(modified_offset) - threshold_) * (now_ms - last_update_ms_); in UpdateThreshold()
45 void UpdateThreshold(double modified_offset, int64_t now_ms);