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

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

Issue 2611613003: Add quic_logging (Closed)
Patch Set: fix failed test? 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
« no previous file with comments | « net/quic/core/congestion_control/cubic.cc ('k') | net/quic/core/congestion_control/cubic_bytes_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/congestion_control/cubic_bytes.cc
diff --git a/net/quic/core/congestion_control/cubic_bytes.cc b/net/quic/core/congestion_control/cubic_bytes.cc
index b39564cb7fc98f630076f17309aa92d4e22b9cf2..ea19622e8de1d2bd79f42dabc3cc2cd9349f0755 100644
--- a/net/quic/core/congestion_control/cubic_bytes.cc
+++ b/net/quic/core/congestion_control/cubic_bytes.cc
@@ -8,9 +8,9 @@
#include <cmath>
#include <cstdint>
-#include "base/logging.h"
#include "net/quic/core/quic_flags.h"
#include "net/quic/core/quic_packets.h"
+#include "net/quic/platform/api/quic_logging.h"
namespace net {
@@ -156,7 +156,7 @@ QuicByteCount CubicBytes::CongestionWindowAfterAck(
if (!epoch_.IsInitialized()) {
// First ACK after a loss event.
- DVLOG(1) << "Start of epoch";
+ QUIC_DVLOG(1) << "Start of epoch";
epoch_ = current_time; // Start of epoch.
acked_bytes_count_ = acked_bytes; // Reset count.
// Reset estimated_tcp_congestion_window_ to be in sync with cubic.
@@ -228,7 +228,8 @@ QuicByteCount CubicBytes::CongestionWindowAfterAck(
target_congestion_window = estimated_tcp_congestion_window_;
}
- DVLOG(1) << "Final target congestion_window: " << target_congestion_window;
+ QUIC_DVLOG(1) << "Final target congestion_window: "
+ << target_congestion_window;
return target_congestion_window;
}
« no previous file with comments | « net/quic/core/congestion_control/cubic.cc ('k') | net/quic/core/congestion_control/cubic_bytes_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698