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:
@ -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;
|
||||||
|
|
||||||
|
@ -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 {
|
||||||
|
@ -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();
|
||||||
|
Reference in New Issue
Block a user