Index: webrtc/tools/event_log_visualizer/graph.proto |
diff --git a/webrtc/tools/event_log_visualizer/graph.proto b/webrtc/tools/event_log_visualizer/graph.proto |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3b028489139a4cdc0cc47f83923230a9ecbede0e |
--- /dev/null |
+++ b/webrtc/tools/event_log_visualizer/graph.proto |
@@ -0,0 +1,32 @@ |
+syntax = "proto2"; |
+option optimize_for = LITE_RUNTIME; |
+package webrtc.protobuf_plot; |
+ |
+enum PlotStyle { |
+ UNDEFINED = 0; |
+ LINE_GRAPH = 1; |
+ LINE_DOT_GRAPH = 2; |
+ BAR_GRAPH = 3; |
+}; |
+ |
+message DataSet { |
+ repeated float xvalues = 1; |
+ repeated float yvalues = 2; |
+ optional string label = 3; |
+ optional PlotStyle style = 4; |
+} |
+ |
+message Plot { |
+ repeated DataSet data_sets = 1; |
+ optional float xaxis_min = 2; |
+ optional float xaxis_max = 3; |
+ optional string xaxis_label = 4; |
+ optional float yaxis_min = 5; |
+ optional float yaxis_max = 6; |
+ optional string yaxis_label = 7; |
+ optional string title = 8; |
+} |
+ |
+message PlotCollection { |
+ repeated Plot plots = 1; |
+} |