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

Unified Diff: webrtc/tools/event_log_visualizer/graph.proto

Issue 2268063002: Define a protobuf format for representing plots (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase Created 4 years, 4 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/BUILD.gn ('k') | webrtc/tools/event_log_visualizer/plot_protobuf.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
+}
« no previous file with comments | « webrtc/tools/BUILD.gn ('k') | webrtc/tools/event_log_visualizer/plot_protobuf.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698