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

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

Issue 2912813002: Overlay REMB in total bitrate graphs in visualization tool. (Closed)
Patch Set: Add missing include. Created 3 years, 7 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/plot_base.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/tools/event_log_visualizer/plot_base.cc
diff --git a/webrtc/tools/event_log_visualizer/plot_base.cc b/webrtc/tools/event_log_visualizer/plot_base.cc
index 057a3108a4c7fc9f090837d29765b0bef58ecf2b..63fb09272e2423317bb98bcd3b0cfb443ebfc454 100644
--- a/webrtc/tools/event_log_visualizer/plot_base.cc
+++ b/webrtc/tools/event_log_visualizer/plot_base.cc
@@ -75,5 +75,11 @@ void Plot::AppendTimeSeries(TimeSeries&& time_series) {
series_list_.emplace_back(std::move(time_series));
}
+void Plot::AppendTimeSeriesIfNotEmpty(TimeSeries&& time_series) {
+ if (time_series.points.size() > 0) {
+ series_list_.emplace_back(std::move(time_series));
+ }
+}
+
} // namespace plotting
} // namespace webrtc
« no previous file with comments | « webrtc/tools/event_log_visualizer/plot_base.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698