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

Unified Diff: webrtc/rtc_tools/event_log_visualizer/plot_base.cc

Issue 2826313004: Added -show_detector_state which show the detector state in the total bitrate graph. (Closed)
Patch Set: Intervals now show up in the legend. Created 3 years, 5 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
Index: webrtc/rtc_tools/event_log_visualizer/plot_base.cc
diff --git a/webrtc/rtc_tools/event_log_visualizer/plot_base.cc b/webrtc/rtc_tools/event_log_visualizer/plot_base.cc
index 8bf3533a8fa790cce405ce87feef8282191be0c6..783f2b87ac054bee5f71db18a99eac8aa51bc33f 100644
--- a/webrtc/rtc_tools/event_log_visualizer/plot_base.cc
+++ b/webrtc/rtc_tools/event_log_visualizer/plot_base.cc
@@ -75,6 +75,10 @@ void Plot::AppendTimeSeries(TimeSeries&& time_series) {
series_list_.emplace_back(std::move(time_series));
}
+void Plot::AppendIntervalSeries(IntervalSeries&& interval_series) {
+ interval_list_.emplace_back(std::move(interval_series));
+}
+
void Plot::AppendTimeSeriesIfNotEmpty(TimeSeries&& time_series) {
if (time_series.points.size() > 0) {
series_list_.emplace_back(std::move(time_series));
« no previous file with comments | « webrtc/rtc_tools/event_log_visualizer/plot_base.h ('k') | webrtc/rtc_tools/event_log_visualizer/plot_python.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698