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

Unified Diff: webrtc/video/end_to_end_tests.cc

Issue 1434403004: Add UMA for send bwe and pacer bitrate. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add locks to handle OnNetworkChanged from multiple threads. Created 5 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
« no previous file with comments | « webrtc/call/call.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video/end_to_end_tests.cc
diff --git a/webrtc/video/end_to_end_tests.cc b/webrtc/video/end_to_end_tests.cc
index 6ed3c4715fb12b991a3e3ed2150c45e9dbc3c7b2..84399bacb051ce80cbeeafe20d560b1c5b4c0d18 100644
--- a/webrtc/video/end_to_end_tests.cc
+++ b/webrtc/video/end_to_end_tests.cc
@@ -1944,6 +1944,7 @@ void EndToEndTest::VerifyHistogramStats(bool use_rtx, bool use_red) {
RunBaseTest(&test, FakeNetworkPipe::Config());
// Delete the call for Call stats to be reported.
+ sender_call_.reset();
receiver_call_.reset();
// Verify that stats have been updated once.
@@ -1952,6 +1953,9 @@ void EndToEndTest::VerifyHistogramStats(bool use_rtx, bool use_red) {
EXPECT_EQ(1,
test::NumHistogramSamples("WebRTC.Call.RtcpBitrateReceivedInBps"));
EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Call.BitrateReceivedInKbps"));
+ EXPECT_EQ(
+ 1, test::NumHistogramSamples("WebRTC.Call.EstimatedSendBitrateInKbps"));
+ EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Call.PacerBitrateInKbps"));
EXPECT_EQ(1, test::NumHistogramSamples(
"WebRTC.Video.NackPacketsSentPerMinute"));
« no previous file with comments | « webrtc/call/call.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698