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

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

Issue 2557073002: Add method needed to extract frame capture and arrival timestamps from rtc event logs. (Closed)
Patch Set: . Created 4 years 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 void CreateFractionLossGraph(Plot* plot); 79 void CreateFractionLossGraph(Plot* plot);
80 80
81 void CreateTotalBitrateGraph(PacketDirection desired_direction, Plot* plot); 81 void CreateTotalBitrateGraph(PacketDirection desired_direction, Plot* plot);
82 82
83 void CreateStreamBitrateGraph(PacketDirection desired_direction, Plot* plot); 83 void CreateStreamBitrateGraph(PacketDirection desired_direction, Plot* plot);
84 84
85 void CreateBweSimulationGraph(Plot* plot); 85 void CreateBweSimulationGraph(Plot* plot);
86 86
87 void CreateNetworkDelayFeedbackGraph(Plot* plot); 87 void CreateNetworkDelayFeedbackGraph(Plot* plot);
88 88
89 std::vector<int64_t> GetFrameTimestamps() const;
90
89 private: 91 private:
90 class StreamId { 92 class StreamId {
91 public: 93 public:
92 StreamId(uint32_t ssrc, webrtc::PacketDirection direction) 94 StreamId(uint32_t ssrc, webrtc::PacketDirection direction)
93 : ssrc_(ssrc), direction_(direction) {} 95 : ssrc_(ssrc), direction_(direction) {}
94 bool operator<(const StreamId& other) const { 96 bool operator<(const StreamId& other) const {
95 return std::tie(ssrc_, direction_) < 97 return std::tie(ssrc_, direction_) <
96 std::tie(other.ssrc_, other.direction_); 98 std::tie(other.ssrc_, other.direction_);
97 } 99 }
98 bool operator==(const StreamId& other) const { 100 bool operator==(const StreamId& other) const {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 uint64_t end_time_; 161 uint64_t end_time_;
160 162
161 // Duration (in seconds) of log file. 163 // Duration (in seconds) of log file.
162 float call_duration_s_; 164 float call_duration_s_;
163 }; 165 };
164 166
165 } // namespace plotting 167 } // namespace plotting
166 } // namespace webrtc 168 } // namespace webrtc
167 169
168 #endif // WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_ANALYZER_H_ 170 #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