OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |