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

Unified Diff: webrtc/tools/event_log_visualizer/plot_base.h

Issue 2826313004: Added -show_detector_state which show the detector state in the total bitrate graph. (Closed)
Patch Set: Feedback Created 3 years, 8 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/main.cc ('k') | webrtc/tools/event_log_visualizer/plot_python.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/tools/event_log_visualizer/plot_base.h
diff --git a/webrtc/tools/event_log_visualizer/plot_base.h b/webrtc/tools/event_log_visualizer/plot_base.h
index afa20beaf8c82f78b5d7b97d6312a09ede95edb5..29295ec97bf9635f67805863f235d3531757f41c 100644
--- a/webrtc/tools/event_log_visualizer/plot_base.h
+++ b/webrtc/tools/event_log_visualizer/plot_base.h
@@ -23,7 +23,8 @@ enum PlotStyle {
LINE_DOT_GRAPH,
BAR_GRAPH,
LINE_STEP_GRAPH,
- DOT_GRAPH
+ DOT_GRAPH,
+ VSPAN_GRAPH
terelius 2017/04/26 13:51:51 Shouldn't this be called HSPAN (or HORIZONTAL_SPAN
philipel 2017/04/26 14:08:01 Renamed to VERTICAL_SPAN.
terelius 2017/04/27 11:31:00 But isn't it a horizontal span?
};
struct TimeSeriesPoint {
@@ -40,16 +41,19 @@ struct TimeSeries {
TimeSeries(TimeSeries&& other)
: label(std::move(other.label)),
style(other.style),
+ color(other.color),
points(std::move(other.points)) {}
TimeSeries& operator=(TimeSeries&& other) {
label = std::move(other.label);
style = other.style;
+ color = other.color;
points = std::move(other.points);
return *this;
}
std::string label;
PlotStyle style;
+ std::string color;
std::vector<TimeSeriesPoint> points;
};
« no previous file with comments | « webrtc/tools/event_log_visualizer/main.cc ('k') | webrtc/tools/event_log_visualizer/plot_python.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698