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

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

Issue 2559953002: Log audio network adapter decisions in event log. (Closed)
Patch Set: Response to comments. Created 4 years 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 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 } 416 }
417 case ParsedRtcEventLog::BWE_PACKET_LOSS_EVENT: { 417 case ParsedRtcEventLog::BWE_PACKET_LOSS_EVENT: {
418 BwePacketLossEvent bwe_update; 418 BwePacketLossEvent bwe_update;
419 bwe_update.timestamp = parsed_log_.GetTimestamp(i); 419 bwe_update.timestamp = parsed_log_.GetTimestamp(i);
420 parsed_log_.GetBwePacketLossEvent(i, &bwe_update.new_bitrate, 420 parsed_log_.GetBwePacketLossEvent(i, &bwe_update.new_bitrate,
421 &bwe_update.fraction_loss, 421 &bwe_update.fraction_loss,
422 &bwe_update.expected_packets); 422 &bwe_update.expected_packets);
423 bwe_loss_updates_.push_back(bwe_update); 423 bwe_loss_updates_.push_back(bwe_update);
424 break; 424 break;
425 } 425 }
426 case ParsedRtcEventLog::AUDIO_NETWORK_ADAPTOR_EVENT: {
427 break;
428 }
426 case ParsedRtcEventLog::BWE_PACKET_DELAY_EVENT: { 429 case ParsedRtcEventLog::BWE_PACKET_DELAY_EVENT: {
427 break; 430 break;
428 } 431 }
429 case ParsedRtcEventLog::AUDIO_PLAYOUT_EVENT: { 432 case ParsedRtcEventLog::AUDIO_PLAYOUT_EVENT: {
430 break; 433 break;
431 } 434 }
432 case ParsedRtcEventLog::UNKNOWN_EVENT: { 435 case ParsedRtcEventLog::UNKNOWN_EVENT: {
433 break; 436 break;
434 } 437 }
435 } 438 }
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after
1162 point.y -= estimated_base_delay_ms; 1165 point.y -= estimated_base_delay_ms;
1163 // Add the data set to the plot. 1166 // Add the data set to the plot.
1164 plot->series_list_.push_back(std::move(time_series)); 1167 plot->series_list_.push_back(std::move(time_series));
1165 1168
1166 plot->SetXAxis(0, call_duration_s_, "Time (s)", kLeftMargin, kRightMargin); 1169 plot->SetXAxis(0, call_duration_s_, "Time (s)", kLeftMargin, kRightMargin);
1167 plot->SetSuggestedYAxis(0, 10, "Delay (ms)", kBottomMargin, kTopMargin); 1170 plot->SetSuggestedYAxis(0, 10, "Delay (ms)", kBottomMargin, kTopMargin);
1168 plot->SetTitle("Network Delay Change."); 1171 plot->SetTitle("Network Delay Change.");
1169 } 1172 }
1170 } // namespace plotting 1173 } // namespace plotting
1171 } // namespace webrtc 1174 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698