Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 /* | |
| 2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | |
| 3 * | |
| 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 | |
| 6 * tree. An additional intellectual property rights grant can be found | |
| 7 * in the file PATENTS. All contributing project authors may | |
| 8 * be found in the AUTHORS file in the root of the source tree. | |
| 9 */ | |
| 10 | |
| 11 #ifndef WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_ANALYZER_H_ | |
| 12 #define WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_ANALYZER_H_ | |
| 13 | |
| 14 #include <vector> | |
| 15 | |
| 16 #include "webrtc/call/rtc_event_log_parser.h" | |
| 17 #include "webrtc/tools/event_log_visualizer/plot_base.h" | |
| 18 | |
| 19 namespace webrtc { | |
| 20 namespace plotting { | |
| 21 | |
| 22 class EventLogAnalyzer { | |
| 23 public: | |
| 24 // The EventLogAnalyzer keeps a reference to the ParsedRtcEventLog for the | |
| 25 // duration of it's lifetime. The ParsedRtcEventLog must not be destroyed or | |
|
aleloi
2016/06/08 11:44:20
it's -> its
terelius
2016/06/14 13:18:49
Done.
| |
| 26 // modified while the EventLogAnalyzer is being used. | |
| 27 EventLogAnalyzer(const ParsedRtcEventLog& log, bool extra_info); | |
|
aleloi
2016/06/08 11:44:20
Add a comment describing extra_info
terelius
2016/06/14 13:18:49
Done. Note that there isn't (yet) any way to visua
| |
| 28 | |
| 29 void CreatePacketGraph(PacketDirection desired_direction, Plot* plot); | |
| 30 | |
| 31 void CreatePlayoutGraph(Plot* plot); | |
| 32 | |
| 33 void CreateSequenceNumberGraph(Plot* plot); | |
| 34 | |
| 35 void CreateDelayChangeGraph(Plot* plot); | |
| 36 | |
| 37 void CreateAccumulatedDelayChangeGraph(Plot* plot); | |
| 38 | |
| 39 void CreateTotalBitrateGraph(PacketDirection desired_direction, Plot* plot); | |
| 40 | |
| 41 void CreateStreamBitrateGraph(PacketDirection desired_direction, Plot* plot); | |
| 42 | |
| 43 private: | |
| 44 const ParsedRtcEventLog& parsed_log; | |
|
stefan-webrtc
2016/05/31 18:53:40
End all members with _
terelius
2016/06/14 13:18:49
Done.
| |
| 45 std::vector<uint32_t> desired_ssrc; | |
| 46 uint64_t begin_time; | |
| 47 uint64_t end_time; | |
| 48 uint64_t window_duration; | |
| 49 uint64_t step; | |
|
aleloi
2016/06/08 11:44:20
Consider adding a comment that describes what |ste
terelius
2016/06/14 13:18:49
Done.
| |
| 50 bool extra_point_info; | |
| 51 }; | |
| 52 | |
| 53 } // namespace plotting | |
| 54 } // namespace webrtc | |
| 55 | |
| 56 #endif // WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_ANALYZER_H_ | |
| OLD | NEW |