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

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: Comments addressed. 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
« no previous file with comments | « no previous file | 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 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 // Returns a vector of capture and arrival timestamps for the video frames
90 // of the stream with the most number of frames.
91 std::vector<std::pair<int64_t, int64_t>> GetFrameTimestamps() const;
92
89 private: 93 private:
90 class StreamId { 94 class StreamId {
91 public: 95 public:
92 StreamId(uint32_t ssrc, webrtc::PacketDirection direction) 96 StreamId(uint32_t ssrc, webrtc::PacketDirection direction)
93 : ssrc_(ssrc), direction_(direction) {} 97 : ssrc_(ssrc), direction_(direction) {}
94 bool operator<(const StreamId& other) const { 98 bool operator<(const StreamId& other) const {
95 return std::tie(ssrc_, direction_) < 99 return std::tie(ssrc_, direction_) <
96 std::tie(other.ssrc_, other.direction_); 100 std::tie(other.ssrc_, other.direction_);
97 } 101 }
98 bool operator==(const StreamId& other) const { 102 bool operator==(const StreamId& other) const {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 uint64_t end_time_; 163 uint64_t end_time_;
160 164
161 // Duration (in seconds) of log file. 165 // Duration (in seconds) of log file.
162 float call_duration_s_; 166 float call_duration_s_;
163 }; 167 };
164 168
165 } // namespace plotting 169 } // namespace plotting
166 } // namespace webrtc 170 } // namespace webrtc
167 171
168 #endif // WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_ANALYZER_H_ 172 #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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698