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

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

Issue 2705613002: Rename some variables and methods in RTC event log. (Closed)
Patch Set: 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
« no previous file with comments | « webrtc/tools/event_log_visualizer/analyzer.h ('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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 } 428 }
429 } 429 }
430 break; 430 break;
431 } 431 }
432 case ParsedRtcEventLog::LOG_START: { 432 case ParsedRtcEventLog::LOG_START: {
433 break; 433 break;
434 } 434 }
435 case ParsedRtcEventLog::LOG_END: { 435 case ParsedRtcEventLog::LOG_END: {
436 break; 436 break;
437 } 437 }
438 case ParsedRtcEventLog::BWE_PACKET_LOSS_EVENT: { 438 case ParsedRtcEventLog::AUDIO_PLAYOUT_EVENT: {
439 BwePacketLossEvent bwe_update; 439 break;
440 }
441 case ParsedRtcEventLog::LOSS_BASED_BWE_UPDATE: {
442 LossBasedBweUpdate bwe_update;
440 bwe_update.timestamp = parsed_log_.GetTimestamp(i); 443 bwe_update.timestamp = parsed_log_.GetTimestamp(i);
441 parsed_log_.GetBwePacketLossEvent(i, &bwe_update.new_bitrate, 444 parsed_log_.GetLossBasedBweUpdate(i, &bwe_update.new_bitrate,
442 &bwe_update.fraction_loss, 445 &bwe_update.fraction_loss,
443 &bwe_update.expected_packets); 446 &bwe_update.expected_packets);
444 bwe_loss_updates_.push_back(bwe_update); 447 bwe_loss_updates_.push_back(bwe_update);
445 break; 448 break;
446 } 449 }
450 case ParsedRtcEventLog::DELAY_BASED_BWE_UPDATE: {
451 break;
452 }
447 case ParsedRtcEventLog::AUDIO_NETWORK_ADAPTATION_EVENT: { 453 case ParsedRtcEventLog::AUDIO_NETWORK_ADAPTATION_EVENT: {
448 break; 454 break;
449 } 455 }
450 case ParsedRtcEventLog::BWE_PACKET_DELAY_EVENT: {
451 break;
452 }
453 case ParsedRtcEventLog::AUDIO_PLAYOUT_EVENT: {
454 break;
455 }
456 case ParsedRtcEventLog::UNKNOWN_EVENT: { 456 case ParsedRtcEventLog::UNKNOWN_EVENT: {
457 break; 457 break;
458 } 458 }
459 } 459 }
460 } 460 }
461 461
462 if (last_timestamp < first_timestamp) { 462 if (last_timestamp < first_timestamp) {
463 // No useful events in the log. 463 // No useful events in the log.
464 first_timestamp = last_timestamp = 0; 464 first_timestamp = last_timestamp = 0;
465 } 465 }
(...skipping 804 matching lines...) Expand 10 before | Expand all | Expand 10 after
1270 } 1270 }
1271 } 1271 }
1272 } 1272 }
1273 1273
1274 plot->SetXAxis(0, call_duration_s_, "Time (s)", kLeftMargin, kRightMargin); 1274 plot->SetXAxis(0, call_duration_s_, "Time (s)", kLeftMargin, kRightMargin);
1275 plot->SetSuggestedYAxis(0, 1, "Timestamp (90khz)", kBottomMargin, kTopMargin); 1275 plot->SetSuggestedYAxis(0, 1, "Timestamp (90khz)", kBottomMargin, kTopMargin);
1276 plot->SetTitle("Timestamps"); 1276 plot->SetTitle("Timestamps");
1277 } 1277 }
1278 } // namespace plotting 1278 } // namespace plotting
1279 } // namespace webrtc 1279 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/tools/event_log_visualizer/analyzer.h ('k') | webrtc/voice_engine/channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698