Plot accumelated packets over time.
BUG= Review-Url: https://codereview.webrtc.org/2295063006 Cr-Commit-Position: refs/heads/master@{#14066}
This commit is contained in:
@ -91,10 +91,16 @@ int main(int argc, char* argv[]) {
|
||||
if (FLAGS_incoming) {
|
||||
analyzer.CreatePacketGraph(webrtc::PacketDirection::kIncomingPacket,
|
||||
collection->AppendNewPlot());
|
||||
analyzer.CreateAccumulatedPacketsGraph(
|
||||
webrtc::PacketDirection::kIncomingPacket,
|
||||
collection->AppendNewPlot());
|
||||
}
|
||||
if (FLAGS_outgoing) {
|
||||
analyzer.CreatePacketGraph(webrtc::PacketDirection::kOutgoingPacket,
|
||||
collection->AppendNewPlot());
|
||||
analyzer.CreateAccumulatedPacketsGraph(
|
||||
webrtc::PacketDirection::kOutgoingPacket,
|
||||
collection->AppendNewPlot());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user