The IDs be more stable than the plot titles and could be used to identify specific graphs in scripts. Change event_log_visualizer command line interface to control which plots are generated. Old interface had one command line flag per plot as well as a set of 'profiles' that enabled of disabled sets of plots. New interface has a command line flag which takes a string of all the plot names or profiles that should be enabled. In some cases, there are also slight naming changes for the plots. For example, the former command event_log_visualizer --plot_profile=sendside_bwe --plot_incoming_packet_sizes <filename> | python is now event_log_visualizer --plot=sendside_bwe,incoming_packet_sizes <filename> | python The former command event_log_visualizer --plot_profile=none --plot_incoming_packet_sizes <filename> | python is now event_log_visualizer --plot=incoming_packet_sizes <filename> | python The former command event_log_visualizer --plot_profile=all <filename> | python is now event_log_visualizer --plot=all <filename> | python Bug: webrtc:10623 Change-Id: Ife432c1e51edfce64af565a769f1764a16655bb6 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/140886 Reviewed-by: Sebastian Jansson <srte@webrtc.org> Commit-Queue: Björn Terelius <terelius@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28237}
31 lines
622 B
Protocol Buffer
31 lines
622 B
Protocol Buffer
syntax = "proto3";
|
|
// Describes a chart generated from WebRTC event log data.
|
|
option optimize_for = LITE_RUNTIME;
|
|
package webrtc.analytics;
|
|
|
|
import "chart_enums.proto";
|
|
|
|
message DataSet {
|
|
repeated float x_values = 1;
|
|
repeated float y_values = 2;
|
|
string label = 3;
|
|
ChartStyle.Type style = 4;
|
|
bool highlight_points = 5;
|
|
}
|
|
|
|
message Chart {
|
|
repeated DataSet data_sets = 1;
|
|
float xaxis_min = 2;
|
|
float xaxis_max = 3;
|
|
string xaxis_label = 4;
|
|
float yaxis_min = 5;
|
|
float yaxis_max = 6;
|
|
string yaxis_label = 7;
|
|
string title = 8;
|
|
string id = 9;
|
|
}
|
|
|
|
message ChartCollection {
|
|
repeated Chart charts = 1;
|
|
}
|