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 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
502 } | 502 } |
503 case ParsedRtcEventLog::BWE_PROBE_CLUSTER_CREATED_EVENT: { | 503 case ParsedRtcEventLog::BWE_PROBE_CLUSTER_CREATED_EVENT: { |
504 bwe_probe_cluster_created_events_.push_back( | 504 bwe_probe_cluster_created_events_.push_back( |
505 parsed_log_.GetBweProbeClusterCreated(i)); | 505 parsed_log_.GetBweProbeClusterCreated(i)); |
506 break; | 506 break; |
507 } | 507 } |
508 case ParsedRtcEventLog::BWE_PROBE_RESULT_EVENT: { | 508 case ParsedRtcEventLog::BWE_PROBE_RESULT_EVENT: { |
509 bwe_probe_result_events_.push_back(parsed_log_.GetBweProbeResult(i)); | 509 bwe_probe_result_events_.push_back(parsed_log_.GetBweProbeResult(i)); |
510 break; | 510 break; |
511 } | 511 } |
512 case ParsedRtcEventLog::HOST_LOOKUP_EVENT: { | |
513 // TODO(jonaso): What to do ?? | |
514 break; | |
515 } | |
516 case ParsedRtcEventLog::UNKNOWN_EVENT: { | 512 case ParsedRtcEventLog::UNKNOWN_EVENT: { |
517 break; | 513 break; |
518 } | 514 } |
519 } | 515 } |
520 } | 516 } |
521 | 517 |
522 if (last_timestamp < first_timestamp) { | 518 if (last_timestamp < first_timestamp) { |
523 // No useful events in the log. | 519 // No useful events in the log. |
524 first_timestamp = last_timestamp = 0; | 520 first_timestamp = last_timestamp = 0; |
525 } | 521 } |
(...skipping 1201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1727 plot->AppendTimeSeries(std::move(series.second)); | 1723 plot->AppendTimeSeries(std::move(series.second)); |
1728 } | 1724 } |
1729 | 1725 |
1730 plot->SetXAxis(0, call_duration_s_, "Time (s)", kLeftMargin, kRightMargin); | 1726 plot->SetXAxis(0, call_duration_s_, "Time (s)", kLeftMargin, kRightMargin); |
1731 plot->SetYAxis(min_y_axis, max_y_axis, "Relative delay (ms)", kBottomMargin, | 1727 plot->SetYAxis(min_y_axis, max_y_axis, "Relative delay (ms)", kBottomMargin, |
1732 kTopMargin); | 1728 kTopMargin); |
1733 plot->SetTitle("NetEq timing"); | 1729 plot->SetTitle("NetEq timing"); |
1734 } | 1730 } |
1735 } // namespace plotting | 1731 } // namespace plotting |
1736 } // namespace webrtc | 1732 } // namespace webrtc |
OLD | NEW |