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

Unified Diff: webrtc/tools/event_log_visualizer/main.cc

Issue 2695613005: Add ana config to event log visualiser (Closed)
Patch Set: Replaced std::function with FunctionView Created 3 years, 10 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 | « webrtc/tools/event_log_visualizer/analyzer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/tools/event_log_visualizer/main.cc
diff --git a/webrtc/tools/event_log_visualizer/main.cc b/webrtc/tools/event_log_visualizer/main.cc
index 13a5b8a4f9353bc7bf30bd3b6f5425db800fefbc..2f5ecd63e45f67bc4e12ac4910d5593393c57660 100644
--- a/webrtc/tools/event_log_visualizer/main.cc
+++ b/webrtc/tools/event_log_visualizer/main.cc
@@ -62,6 +62,21 @@ DEFINE_bool(plot_fraction_loss,
DEFINE_bool(plot_timestamps,
false,
"Plot the rtp timestamps of all rtp and rtcp packets over time.");
+DEFINE_bool(audio_encoder_bitrate_bps,
+ false,
+ "Plot the audio encoder target bitrate.");
+DEFINE_bool(audio_encoder_frame_length_ms,
+ false,
+ "Plot the audio encoder frame length.");
+DEFINE_bool(
+ audio_encoder_uplink_packet_loss_fraction,
+ false,
+ "Plot the uplink packet loss fraction which is send to the audio encoder.");
+DEFINE_bool(audio_encoder_fec, false, "Plot the audio encoder FEC.");
+DEFINE_bool(audio_encoder_dtx, false, "Plot the audio encoder DTX.");
+DEFINE_bool(audio_encoder_num_channels,
+ false,
+ "Plot the audio encoder number of channels.");
DEFINE_string(
force_fieldtrials,
"",
@@ -187,6 +202,31 @@ int main(int argc, char* argv[]) {
analyzer.CreateTimestampGraph(collection->AppendNewPlot());
}
+ if (FLAGS_plot_all || FLAGS_audio_encoder_bitrate_bps) {
+ analyzer.CreateAudioEncoderTargetBitrateGraph(collection->AppendNewPlot());
+ }
+
+ if (FLAGS_plot_all || FLAGS_audio_encoder_frame_length_ms) {
+ analyzer.CreateAudioEncoderFrameLengthGraph(collection->AppendNewPlot());
+ }
+
+ if (FLAGS_plot_all || FLAGS_audio_encoder_uplink_packet_loss_fraction) {
+ analyzer.CreateAudioEncoderUplinkPacketLossFractionGraph(
+ collection->AppendNewPlot());
+ }
+
+ if (FLAGS_plot_all || FLAGS_audio_encoder_fec) {
+ analyzer.CreateAudioEncoderEnableFecGraph(collection->AppendNewPlot());
+ }
+
+ if (FLAGS_plot_all || FLAGS_audio_encoder_dtx) {
+ analyzer.CreateAudioEncoderEnableDtxGraph(collection->AppendNewPlot());
+ }
+
+ if (FLAGS_plot_all || FLAGS_audio_encoder_num_channels) {
+ analyzer.CreateAudioEncoderNumChannelsGraph(collection->AppendNewPlot());
+ }
+
collection->Draw();
return 0;
« no previous file with comments | « webrtc/tools/event_log_visualizer/analyzer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698