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

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: Change literal type to avoid VC++ compile warning 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
« no previous file with comments | « webrtc/tools/BUILD.gn ('k') | webrtc/tools/event_log_visualizer/analyzer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 // Window and step size used for calculating moving averages, e.g. bitrate. 108 // Window and step size used for calculating moving averages, e.g. bitrate.
109 // The generated data points will be |step_| microseconds apart. 109 // The generated data points will be |step_| microseconds apart.
110 // Only events occuring at most |window_duration_| microseconds before the 110 // Only events occuring at most |window_duration_| microseconds before the
111 // current data point will be part of the average. 111 // current data point will be part of the average.
112 uint64_t window_duration_; 112 uint64_t window_duration_;
113 uint64_t step_; 113 uint64_t step_;
114 114
115 // First and last events of the log. 115 // First and last events of the log.
116 uint64_t begin_time_; 116 uint64_t begin_time_;
117 uint64_t end_time_; 117 uint64_t end_time_;
118
119 // Duration (in seconds) of log file.
120 float call_duration_s_;
118 }; 121 };
119 122
120 } // namespace plotting 123 } // namespace plotting
121 } // namespace webrtc 124 } // namespace webrtc
122 125
123 #endif // WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_ANALYZER_H_ 126 #endif // WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_ANALYZER_H_
OLDNEW
« no previous file with comments | « webrtc/tools/BUILD.gn ('k') | webrtc/tools/event_log_visualizer/analyzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698