Clarify some function names in visualization tool.

Review-Url: https://codereview.webrtc.org/2230153003
Cr-Commit-Position: refs/heads/master@{#13754}
This commit is contained in:
terelius
2016-08-15 08:47:14 -07:00
committed by Commit bot
parent 2ab1da7c37
commit e34c19c9d7
3 changed files with 7 additions and 7 deletions

View File

@ -761,7 +761,7 @@ void EventLogAnalyzer::CreateStreamBitrateGraph(
} }
} }
void EventLogAnalyzer::CreateBweGraph(Plot* plot) { void EventLogAnalyzer::CreateBweSimulationGraph(Plot* plot) {
std::map<uint64_t, const LoggedRtpPacket*> outgoing_rtp; std::map<uint64_t, const LoggedRtpPacket*> outgoing_rtp;
std::map<uint64_t, const LoggedRtcpPacket*> incoming_rtcp; std::map<uint64_t, const LoggedRtcpPacket*> incoming_rtcp;
@ -789,7 +789,7 @@ void EventLogAnalyzer::CreateBweGraph(Plot* plot) {
cc.SetBweBitrates(0, kDefaultStartBitrateBps, -1); cc.SetBweBitrates(0, kDefaultStartBitrateBps, -1);
TimeSeries time_series; TimeSeries time_series;
time_series.label = "BWE"; time_series.label = "Delay-based estimate";
time_series.style = LINE_DOT_GRAPH; time_series.style = LINE_DOT_GRAPH;
auto rtp_iterator = outgoing_rtp.begin(); auto rtp_iterator = outgoing_rtp.begin();
@ -861,7 +861,7 @@ void EventLogAnalyzer::CreateBweGraph(Plot* plot) {
plot->SetTitle("Simulated BWE behavior"); plot->SetTitle("Simulated BWE behavior");
} }
void EventLogAnalyzer::CreateNetworkDelayFeebackGraph(Plot* plot) { void EventLogAnalyzer::CreateNetworkDelayFeedbackGraph(Plot* plot) {
std::map<uint64_t, const LoggedRtpPacket*> outgoing_rtp; std::map<uint64_t, const LoggedRtpPacket*> outgoing_rtp;
std::map<uint64_t, const LoggedRtcpPacket*> incoming_rtcp; std::map<uint64_t, const LoggedRtcpPacket*> incoming_rtcp;

View File

@ -73,9 +73,9 @@ class EventLogAnalyzer {
void CreateStreamBitrateGraph(PacketDirection desired_direction, Plot* plot); void CreateStreamBitrateGraph(PacketDirection desired_direction, Plot* plot);
void CreateBweGraph(Plot* plot); void CreateBweSimulationGraph(Plot* plot);
void CreateNetworkDelayFeebackGraph(Plot* plot); void CreateNetworkDelayFeedbackGraph(Plot* plot);
private: private:
class StreamId { class StreamId {

View File

@ -149,11 +149,11 @@ int main(int argc, char* argv[]) {
} }
if (FLAGS_plot_all || FLAGS_plot_bwe) { if (FLAGS_plot_all || FLAGS_plot_bwe) {
analyzer.CreateBweGraph(collection->AppendNewPlot()); analyzer.CreateBweSimulationGraph(collection->AppendNewPlot());
} }
if (FLAGS_plot_all || FLAGS_plot_network_delay_feedback) { if (FLAGS_plot_all || FLAGS_plot_network_delay_feedback) {
analyzer.CreateNetworkDelayFeebackGraph(collection->AppendNewPlot()); analyzer.CreateNetworkDelayFeedbackGraph(collection->AppendNewPlot());
} }
collection->Draw(); collection->Draw();