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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 void CreateDelayChangeGraph(Plot* plot); | 66 void CreateDelayChangeGraph(Plot* plot); |
67 | 67 |
68 void CreateAccumulatedDelayChangeGraph(Plot* plot); | 68 void CreateAccumulatedDelayChangeGraph(Plot* plot); |
69 | 69 |
70 void CreateFractionLossGraph(Plot* plot); | 70 void CreateFractionLossGraph(Plot* plot); |
71 | 71 |
72 void CreateTotalBitrateGraph(PacketDirection desired_direction, Plot* plot); | 72 void CreateTotalBitrateGraph(PacketDirection desired_direction, Plot* plot); |
73 | 73 |
74 void CreateStreamBitrateGraph(PacketDirection desired_direction, Plot* plot); | 74 void CreateStreamBitrateGraph(PacketDirection desired_direction, Plot* plot); |
75 | 75 |
76 void CreateBweGraph(Plot* plot); | 76 void CreateBweSimulationGraph(Plot* plot); |
77 | 77 |
78 void CreateNetworkDelayFeebackGraph(Plot* plot); | 78 void CreateNetworkDelayFeedbackGraph(Plot* plot); |
79 | 79 |
80 private: | 80 private: |
81 class StreamId { | 81 class StreamId { |
82 public: | 82 public: |
83 StreamId(uint32_t ssrc, webrtc::PacketDirection direction) | 83 StreamId(uint32_t ssrc, webrtc::PacketDirection direction) |
84 : ssrc_(ssrc), direction_(direction) {} | 84 : ssrc_(ssrc), direction_(direction) {} |
85 bool operator<(const StreamId& other) const { | 85 bool operator<(const StreamId& other) const { |
86 return std::tie(ssrc_, direction_) < | 86 return std::tie(ssrc_, direction_) < |
87 std::tie(other.ssrc_, other.direction_); | 87 std::tie(other.ssrc_, other.direction_); |
88 } | 88 } |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 uint64_t end_time_; | 141 uint64_t end_time_; |
142 | 142 |
143 // Duration (in seconds) of log file. | 143 // Duration (in seconds) of log file. |
144 float call_duration_s_; | 144 float call_duration_s_; |
145 }; | 145 }; |
146 | 146 |
147 } // namespace plotting | 147 } // namespace plotting |
148 } // namespace webrtc | 148 } // namespace webrtc |
149 | 149 |
150 #endif // WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_ANALYZER_H_ | 150 #endif // WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_ANALYZER_H_ |
OLD | NEW |