Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(437)

Unified Diff: net/quic/congestion_control/inter_arrival_overuse_detector.cc

Issue 83123006: Conver DLOG(INFO) to DVLOG(1) in QUIC code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix new messages Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/quic/congestion_control/inter_arrival_overuse_detector.cc
diff --git a/net/quic/congestion_control/inter_arrival_overuse_detector.cc b/net/quic/congestion_control/inter_arrival_overuse_detector.cc
index a2e3a0f17300c2036110d0c8e38655d4788e5ee8..5e500b371bcee5e3851b248ac326a39b4136792c 100644
--- a/net/quic/congestion_control/inter_arrival_overuse_detector.cc
+++ b/net/quic/congestion_control/inter_arrival_overuse_detector.cc
@@ -65,7 +65,7 @@ void InterArrivalOveruseDetector::OnAcknowledgedPacket(
// This is an old packet and should be ignored. Note that we are called
// with a full 64 bit sequence number, even if the wire format may only
// convey some low-order bits of that number.
- DLOG(INFO) << "Skip old packet";
+ DVLOG(1) << "Skip old packet";
return;
}
@@ -156,7 +156,7 @@ void InterArrivalOveruseDetector::DetectDrift(int64 sigma_delta) {
if (delta_overuse_counter_ > 0 &&
accumulated_deltas_.ToMicroseconds() > kThresholdAccumulatedDeltasUs) {
if (delta_estimate_ != kBandwidthDraining) {
- DLOG(INFO) << "Bandwidth estimate drift: Draining buffer(s) "
+ DVLOG(1) << "Bandwidth estimate drift: Draining buffer(s) "
<< accumulated_deltas_.ToMilliseconds() << " ms";
delta_estimate_ = kBandwidthDraining;
}
@@ -167,7 +167,7 @@ void InterArrivalOveruseDetector::DetectDrift(int64 sigma_delta) {
(sigma_delta * kDetectDriftStandardDeviation >
abs(accumulated_deltas_.ToMicroseconds()))) {
if (delta_estimate_ != kBandwidthSteady) {
- DLOG(INFO) << "Bandwidth estimate drift: Steady"
+ DVLOG(1) << "Bandwidth estimate drift: Steady"
<< " mean:" << delta_mean_
<< " sigma:" << sigma_delta
<< " offset:" << send_receive_offset_.ToMicroseconds()
@@ -183,7 +183,7 @@ void InterArrivalOveruseDetector::DetectDrift(int64 sigma_delta) {
if (accumulated_deltas_.ToMicroseconds() > 0) {
if (delta_estimate_ != kBandwidthOverUsing) {
++delta_overuse_counter_;
- DLOG(INFO) << "Bandwidth estimate drift: Over using"
+ DVLOG(1) << "Bandwidth estimate drift: Over using"
<< " mean:" << delta_mean_
<< " sigma:" << sigma_delta
<< " offset:" << send_receive_offset_.ToMicroseconds()
@@ -194,7 +194,7 @@ void InterArrivalOveruseDetector::DetectDrift(int64 sigma_delta) {
} else {
if (delta_estimate_ != kBandwidthUnderUsing) {
--delta_overuse_counter_;
- DLOG(INFO) << "Bandwidth estimate drift: Under using"
+ DVLOG(1) << "Bandwidth estimate drift: Under using"
<< " mean:" << delta_mean_
<< " sigma:" << sigma_delta
<< " offset:" << send_receive_offset_.ToMicroseconds()
@@ -219,14 +219,14 @@ void InterArrivalOveruseDetector::DetectSlope(int64 sigma_delta) {
}
if (slope_overuse_counter_ > 0 && delta_mean_ > 0) {
if (slope_estimate_ != kBandwidthDraining) {
- DLOG(INFO) << "Bandwidth estimate slope: Draining buffer(s)";
+ DVLOG(1) << "Bandwidth estimate slope: Draining buffer(s)";
}
slope_estimate_ = kBandwidthDraining;
return;
}
if (sigma_delta > abs(delta_mean_) * kDetectSlopeFactor) {
if (slope_estimate_ != kBandwidthSteady) {
- DLOG(INFO) << "Bandwidth estimate slope: Steady"
+ DVLOG(1) << "Bandwidth estimate slope: Steady"
<< " mean:" << delta_mean_
<< " sigma:" << sigma_delta;
slope_overuse_counter_ = 0;
@@ -237,7 +237,7 @@ void InterArrivalOveruseDetector::DetectSlope(int64 sigma_delta) {
if (delta_mean_ > 0) {
if (slope_estimate_ != kBandwidthOverUsing) {
++slope_overuse_counter_;
- DLOG(INFO) << "Bandwidth estimate slope: Over using"
+ DVLOG(1) << "Bandwidth estimate slope: Over using"
<< " mean:" << delta_mean_
<< " sigma:" << sigma_delta;
slope_estimate_ = kBandwidthOverUsing;
@@ -245,7 +245,7 @@ void InterArrivalOveruseDetector::DetectSlope(int64 sigma_delta) {
} else {
if (slope_estimate_ != kBandwidthUnderUsing) {
--slope_overuse_counter_;
- DLOG(INFO) << "Bandwidth estimate slope: Under using"
+ DVLOG(1) << "Bandwidth estimate slope: Under using"
<< " mean:" << delta_mean_
<< " sigma:" << sigma_delta;
slope_estimate_ = kBandwidthUnderUsing;
« no previous file with comments | « net/quic/congestion_control/inter_arrival_bitrate_ramp_up.cc ('k') | net/quic/congestion_control/inter_arrival_probe.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698