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

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

Issue 2658073002: Add event log visualization of rtp timestamps over time. (Closed)
Patch Set: . Created 3 years, 10 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 | « 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
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 void CreateTimestampGraph(Plot* plot);
88 89
89 // Returns a vector of capture and arrival timestamps for the video frames 90 // Returns a vector of capture and arrival timestamps for the video frames
90 // of the stream with the most number of frames. 91 // of the stream with the most number of frames.
91 std::vector<std::pair<int64_t, int64_t>> GetFrameTimestamps() const; 92 std::vector<std::pair<int64_t, int64_t>> GetFrameTimestamps() const;
92 93
93 private: 94 private:
94 class StreamId { 95 class StreamId {
95 public: 96 public:
96 StreamId(uint32_t ssrc, webrtc::PacketDirection direction) 97 StreamId(uint32_t ssrc, webrtc::PacketDirection direction)
97 : ssrc_(ssrc), direction_(direction) {} 98 : ssrc_(ssrc), direction_(direction) {}
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 uint64_t end_time_; 164 uint64_t end_time_;
164 165
165 // Duration (in seconds) of log file. 166 // Duration (in seconds) of log file.
166 float call_duration_s_; 167 float call_duration_s_;
167 }; 168 };
168 169
169 } // namespace plotting 170 } // namespace plotting
170 } // namespace webrtc 171 } // namespace webrtc
171 172
172 #endif // WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_ANALYZER_H_ 173 #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