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

Side by Side Diff: webrtc/rtc_tools/event_log_visualizer/analyzer.cc

Issue 2996933003: Add logging of host lookups made by TurnPort to the RtcEventLog. (Closed)
Patch Set: review Created 3 years, 3 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 | « webrtc/rtc_base/nethelpers.cc ('k') | webrtc/voice_engine/channel.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 491 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 }
512 case ParsedRtcEventLog::UNKNOWN_EVENT: { 516 case ParsedRtcEventLog::UNKNOWN_EVENT: {
513 break; 517 break;
514 } 518 }
515 } 519 }
516 } 520 }
517 521
518 if (last_timestamp < first_timestamp) { 522 if (last_timestamp < first_timestamp) {
519 // No useful events in the log. 523 // No useful events in the log.
520 first_timestamp = last_timestamp = 0; 524 first_timestamp = last_timestamp = 0;
521 } 525 }
(...skipping 1201 matching lines...) Expand 10 before | Expand all | Expand 10 after
1723 plot->AppendTimeSeries(std::move(series.second)); 1727 plot->AppendTimeSeries(std::move(series.second));
1724 } 1728 }
1725 1729
1726 plot->SetXAxis(0, call_duration_s_, "Time (s)", kLeftMargin, kRightMargin); 1730 plot->SetXAxis(0, call_duration_s_, "Time (s)", kLeftMargin, kRightMargin);
1727 plot->SetYAxis(min_y_axis, max_y_axis, "Relative delay (ms)", kBottomMargin, 1731 plot->SetYAxis(min_y_axis, max_y_axis, "Relative delay (ms)", kBottomMargin,
1728 kTopMargin); 1732 kTopMargin);
1729 plot->SetTitle("NetEq timing"); 1733 plot->SetTitle("NetEq timing");
1730 } 1734 }
1731 } // namespace plotting 1735 } // namespace plotting
1732 } // namespace webrtc 1736 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/rtc_base/nethelpers.cc ('k') | webrtc/voice_engine/channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698