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

Unified Diff: net/quic/core/congestion_control/bbr_sender.cc

Issue 2611613003: Add quic_logging (Closed)
Patch Set: fix for win Created 3 years, 11 months 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/core/congestion_control/bbr_sender.cc
diff --git a/net/quic/core/congestion_control/bbr_sender.cc b/net/quic/core/congestion_control/bbr_sender.cc
index 0d1a0fd5663d5b4eaaff2041ebcd19e1ad3ff312..f93680988ff41c853227950e5fd8a02abff13c68 100644
--- a/net/quic/core/congestion_control/bbr_sender.cc
+++ b/net/quic/core/congestion_control/bbr_sender.cc
@@ -11,6 +11,7 @@
#include "net/quic/core/congestion_control/rtt_stats.h"
#include "net/quic/core/quic_bug_tracker.h"
#include "net/quic/core/quic_flags.h"
+#include "net/quic/platform/api/quic_logging.h"
namespace net {
@@ -302,9 +303,9 @@ bool BbrSender::UpdateBandwidthAndMinRtt(
!min_rtt_.IsZero() && (now > (min_rtt_timestamp_ + kMinRttExpiry));
if (min_rtt_expired || sample_min_rtt < min_rtt_ || min_rtt_.IsZero()) {
- DVLOG(2) << "Min RTT updated, old value: " << min_rtt_
- << ", new value: " << sample_min_rtt
- << ", current time: " << now.ToDebuggingValue();
+ QUIC_DVLOG(2) << "Min RTT updated, old value: " << min_rtt_
+ << ", new value: " << sample_min_rtt
+ << ", current time: " << now.ToDebuggingValue();
min_rtt_ = sample_min_rtt;
min_rtt_timestamp_ = now;
@@ -527,8 +528,8 @@ void BbrSender::OnApplicationLimited(QuicByteCount bytes_in_flight) {
}
sampler_.OnAppLimited();
- DVLOG(2) << "Becoming application limited. Last sent packet: "
- << last_sent_packet_ << ", CWND: " << GetCongestionWindow();
+ QUIC_DVLOG(2) << "Becoming application limited. Last sent packet: "
+ << last_sent_packet_ << ", CWND: " << GetCongestionWindow();
}
BbrSender::DebugState BbrSender::ExportDebugState() const {

Powered by Google App Engine
This is Rietveld 408576698