Index: webrtc/modules/remote_bitrate_estimator/overuse_detector.cc |
diff --git a/webrtc/modules/remote_bitrate_estimator/overuse_detector.cc b/webrtc/modules/remote_bitrate_estimator/overuse_detector.cc |
index 477fc15f09b351f2bae4dd5a1e691d3538424c89..446b66b4a2590eb3e25426a0e3c2b0412678fbed 100644 |
--- a/webrtc/modules/remote_bitrate_estimator/overuse_detector.cc |
+++ b/webrtc/modules/remote_bitrate_estimator/overuse_detector.cc |
@@ -93,8 +93,8 @@ BandwidthUsage OveruseDetector::Detect(double offset, |
const double prev_offset = prev_offset_; |
prev_offset_ = offset; |
const double T = std::min(num_of_deltas, 60) * offset; |
- BWE_TEST_LOGGING_PLOT(1, "offset", now_ms, T); |
- BWE_TEST_LOGGING_PLOT(1, "threshold", now_ms, threshold_); |
+ BWE_TEST_LOGGING_PLOT(1, "offset[ms]", now_ms, offset); |
+ BWE_TEST_LOGGING_PLOT(1, "gamma[ms]", now_ms, threshold_/60); |
stefan-webrtc
2016/09/01 14:07:35
Make 60 a named constant and use the same constant
Gaetano Carlucci
2016/09/01 16:06:26
ok
|
if (T > threshold_) { |
if (time_over_using_ == -1) { |
// Initialize the timer. Assume that we've been |