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

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

Issue 2666533002: Add probe logging to RtcEventLog. (Closed)
Patch Set: Fix comments. 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
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 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 } 446 }
447 case ParsedRtcEventLog::AUDIO_NETWORK_ADAPTATION_EVENT: { 447 case ParsedRtcEventLog::AUDIO_NETWORK_ADAPTATION_EVENT: {
448 break; 448 break;
449 } 449 }
450 case ParsedRtcEventLog::BWE_PACKET_DELAY_EVENT: { 450 case ParsedRtcEventLog::BWE_PACKET_DELAY_EVENT: {
451 break; 451 break;
452 } 452 }
453 case ParsedRtcEventLog::AUDIO_PLAYOUT_EVENT: { 453 case ParsedRtcEventLog::AUDIO_PLAYOUT_EVENT: {
454 break; 454 break;
455 } 455 }
456 case ParsedRtcEventLog::BWE_PROBE_CLUSTER_CREATED_EVENT: {
457 break;
458 }
459 case ParsedRtcEventLog::BWE_PROBE_RESULT_EVENT: {
460 break;
461 }
456 case ParsedRtcEventLog::UNKNOWN_EVENT: { 462 case ParsedRtcEventLog::UNKNOWN_EVENT: {
457 break; 463 break;
458 } 464 }
459 } 465 }
460 } 466 }
461 467
462 if (last_timestamp < first_timestamp) { 468 if (last_timestamp < first_timestamp) {
463 // No useful events in the log. 469 // No useful events in the log.
464 first_timestamp = last_timestamp = 0; 470 first_timestamp = last_timestamp = 0;
465 } 471 }
(...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after
1269 } 1275 }
1270 } 1276 }
1271 } 1277 }
1272 1278
1273 plot->SetXAxis(0, call_duration_s_, "Time (s)", kLeftMargin, kRightMargin); 1279 plot->SetXAxis(0, call_duration_s_, "Time (s)", kLeftMargin, kRightMargin);
1274 plot->SetSuggestedYAxis(0, 1, "Timestamp (90khz)", kBottomMargin, kTopMargin); 1280 plot->SetSuggestedYAxis(0, 1, "Timestamp (90khz)", kBottomMargin, kTopMargin);
1275 plot->SetTitle("Timestamps"); 1281 plot->SetTitle("Timestamps");
1276 } 1282 }
1277 } // namespace plotting 1283 } // namespace plotting
1278 } // namespace webrtc 1284 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698