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

Side by Side Diff: webrtc/tools/event_log_visualizer/analyzer.h

Issue 2179223003: Convenience functions to set axis properties in visualization tool. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 // Window and step size used for calculating moving averages, e.g. bitrate. 91 // Window and step size used for calculating moving averages, e.g. bitrate.
92 // The generated data points will be |step_| microseconds apart. 92 // The generated data points will be |step_| microseconds apart.
93 // Only events occuring at most |window_duration_| microseconds before the 93 // Only events occuring at most |window_duration_| microseconds before the
94 // current data point will be part of the average. 94 // current data point will be part of the average.
95 uint64_t window_duration_; 95 uint64_t window_duration_;
96 uint64_t step_; 96 uint64_t step_;
97 97
98 // First and last events of the log. 98 // First and last events of the log.
99 uint64_t begin_time_; 99 uint64_t begin_time_;
100 uint64_t end_time_; 100 uint64_t end_time_;
101
102 // Duration (in seconds) of log file.
103 float call_duration_s_;
101 }; 104 };
102 105
103 } // namespace plotting 106 } // namespace plotting
104 } // namespace webrtc 107 } // namespace webrtc
105 108
106 #endif // WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_ANALYZER_H_ 109 #endif // WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_ANALYZER_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/tools/event_log_visualizer/analyzer.cc » ('j') | webrtc/tools/event_log_visualizer/analyzer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698