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

Unified Diff: chrome/browser/media/webrtc_browsertest_perf.cc

Issue 213243002: Tracking more WebRTC metrics, corrected others. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/webrtc_browsertest_perf.cc
diff --git a/chrome/browser/media/webrtc_browsertest_perf.cc b/chrome/browser/media/webrtc_browsertest_perf.cc
index c2864303e8280a1730d9959856b2b7e485b0de4d..e7839a0f2efe429e0862ca185a8ff9a6a9c2d351 100644
--- a/chrome/browser/media/webrtc_browsertest_perf.cc
+++ b/chrome/browser/media/webrtc_browsertest_perf.cc
@@ -45,12 +45,12 @@ static bool MaybePrintResultsForAudioSend(
}
EXPECT_TRUE(pc_dict.GetString(Statistic("bytesSent", ssrc), &value));
- perf_test::PrintResult("audio_recv", "", "bytes_sent", value, "bytes", false);
+ perf_test::PrintResult("audio_send", "", "bytes_sent", value, "bytes", false);
EXPECT_TRUE(pc_dict.GetString(Statistic("googJitterReceived", ssrc), &value));
- perf_test::PrintResult("audio_recv", "", "goog_jitter_recv", value, "",
+ perf_test::PrintResult("audio_send", "", "goog_jitter_recv", value, "",
false);
EXPECT_TRUE(pc_dict.GetString(Statistic("googRtt", ssrc), &value));
- perf_test::PrintResult("audio_recv", "", "goog_rtt", value, "ms", false);
+ perf_test::PrintResult("audio_send", "", "goog_rtt", value, "ms", false);
return true;
}
@@ -81,6 +81,23 @@ static bool MaybePrintResultsForVideoReceive(
pc_dict.GetString(Statistic("googFrameHeightSent", ssrc), &value));
perf_test::PrintResult("video_recv", "", "goog_frame_height_sent", value,
"pixels", false);
+ EXPECT_TRUE(pc_dict.GetString(
+ Statistic("googCaptureJitterMs", ssrc), &value));
+ perf_test::PrintResult("video_send", "", "goog_capture_jitter_ms", value,
+ "ms", false);
+ EXPECT_TRUE(pc_dict.GetString(
+ Statistic("googCaptureQueueDelayMsPerS", ssrc), &value));
+ perf_test::PrintResult("video_send", "", "goog_capture_queue_delay_ms_per_s",
+ value, "ms/s", false);
+ EXPECT_TRUE(pc_dict.GetString(
+ Statistic("googEncodeUsagePercent", ssrc), &value));
+ perf_test::PrintResult("video_send", "", "goog_encode_usage_percent",
+ value, "%", false);
+ EXPECT_TRUE(pc_dict.GetString(Statistic("googAvgEncodeMs", ssrc), &value));
+ perf_test::PrintResult("video_send", "", "goog_avg_encode_ms", value, "ms",
+ false);
+ EXPECT_TRUE(pc_dict.GetString(Statistic("googRtt", ssrc), &value));
+ perf_test::PrintResult("video_send", "", "goog_rtt", value, "ms", false);
return true;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698