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

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

Issue 2527993002: Rename "Audio playout level" to "Audio level" on the Y-axis of the event log graph. (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | 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 627 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 } 638 }
639 } 639 }
640 640
641 for (auto& series : time_series) { 641 for (auto& series : time_series) {
642 series.second.label = GetStreamName(series.first); 642 series.second.label = GetStreamName(series.first);
643 series.second.style = LINE_GRAPH; 643 series.second.style = LINE_GRAPH;
644 plot->series_list_.push_back(std::move(series.second)); 644 plot->series_list_.push_back(std::move(series.second));
645 } 645 }
646 646
647 plot->SetXAxis(0, call_duration_s_, "Time (s)", kLeftMargin, kRightMargin); 647 plot->SetXAxis(0, call_duration_s_, "Time (s)", kLeftMargin, kRightMargin);
648 plot->SetYAxis(-127, 0, "Audio playout level (dBov)", kBottomMargin, 648 plot->SetYAxis(-127, 0, "Audio level (dBov)", kBottomMargin,
649 kTopMargin); 649 kTopMargin);
650 plot->SetTitle("Audio level"); 650 plot->SetTitle("Audio level");
651 } 651 }
652 652
653 // For each SSRC, plot the time between the consecutive playouts. 653 // For each SSRC, plot the time between the consecutive playouts.
654 void EventLogAnalyzer::CreateSequenceNumberGraph(Plot* plot) { 654 void EventLogAnalyzer::CreateSequenceNumberGraph(Plot* plot) {
655 for (auto& kv : rtp_packets_) { 655 for (auto& kv : rtp_packets_) {
656 StreamId stream_id = kv.first; 656 StreamId stream_id = kv.first;
657 const std::vector<LoggedRtpPacket>& packet_stream = kv.second; 657 const std::vector<LoggedRtpPacket>& packet_stream = kv.second;
658 // Filter on direction and SSRC. 658 // Filter on direction and SSRC.
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
1155 point.y -= estimated_base_delay_ms; 1155 point.y -= estimated_base_delay_ms;
1156 // Add the data set to the plot. 1156 // Add the data set to the plot.
1157 plot->series_list_.push_back(std::move(time_series)); 1157 plot->series_list_.push_back(std::move(time_series));
1158 1158
1159 plot->SetXAxis(0, call_duration_s_, "Time (s)", kLeftMargin, kRightMargin); 1159 plot->SetXAxis(0, call_duration_s_, "Time (s)", kLeftMargin, kRightMargin);
1160 plot->SetSuggestedYAxis(0, 10, "Delay (ms)", kBottomMargin, kTopMargin); 1160 plot->SetSuggestedYAxis(0, 10, "Delay (ms)", kBottomMargin, kTopMargin);
1161 plot->SetTitle("Network Delay Change."); 1161 plot->SetTitle("Network Delay Change.");
1162 } 1162 }
1163 } // namespace plotting 1163 } // namespace plotting
1164 } // namespace webrtc 1164 } // namespace webrtc
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698