#include "ns3/applications-module.h"#include "ns3/core-module.h"#include "ns3/flow-monitor-module.h"#include "ns3/internet-apps-module.h"#include "ns3/internet-module.h"#include "ns3/network-module.h"#include "ns3/point-to-point-module.h"#include "ns3/traffic-control-module.h" Include dependency graph for queue-discs-benchmark.cc:
 Include dependency graph for queue-discs-benchmark.cc:Go to the source code of this file.
| Functions | |
| void | BytesInQueueTrace (Ptr< OutputStreamWrapper > stream, uint32_t oldVal, uint32_t newVal) | 
| Print the bytes in the queue.  More... | |
| static void | GoodputSampling (ApplicationContainer app, Ptr< OutputStreamWrapper > stream, float period) | 
| Sample and print the queue goodput.  More... | |
| void | LimitsTrace (Ptr< OutputStreamWrapper > stream, uint32_t oldVal, uint32_t newVal) | 
| Print the queue limitis.  More... | |
| static void | PingRtt (std::string context, Time rtt) | 
| Print the ping RTT.  More... | |
$ ./ns3 run "queue-discs-benchmark [Program Options]"
--bandwidth  --delay  --queueDiscType  --queueDiscSize  --netdevicesQueueSize  --bql  --flowsDatarate  --flowsPacketsSize  --startTime  --simDuration  --samplingPeriod  Definition in file queue-discs-benchmark.cc.
| void BytesInQueueTrace | ( | Ptr< OutputStreamWrapper > | stream, | 
| uint32_t | oldVal, | ||
| uint32_t | newVal | ||
| ) | 
Print the bytes in the queue.
| stream | The ouput stream. | 
| oldVal | Old value. | 
| newVal | New value. | 
Definition at line 90 of file queue-discs-benchmark.cc.
References ns3::Time::GetSeconds(), ns3::OutputStreamWrapper::GetStream(), and ns3::Now().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Sample and print the queue goodput.
| app | The Tx app. | 
| stream | The ouput stream. | 
| period | The sampling period. | 
Definition at line 103 of file queue-discs-benchmark.cc.
References ns3::ApplicationContainer::Get(), ns3::Time::GetSeconds(), ns3::OutputStreamWrapper::GetStream(), GoodputSampling(), ns3::Now(), and ns3::Seconds().
Referenced by GoodputSampling().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| void LimitsTrace | ( | Ptr< OutputStreamWrapper > | stream, | 
| uint32_t | oldVal, | ||
| uint32_t | newVal | ||
| ) | 
Print the queue limitis.
| stream | The ouput stream. | 
| oldVal | Old value. | 
| newVal | New value. | 
Definition at line 77 of file queue-discs-benchmark.cc.
References ns3::Time::GetSeconds(), ns3::OutputStreamWrapper::GetStream(), and ns3::Now().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Print the ping RTT.
| context | The context. | 
| rtt | The RTT. | 
Definition at line 119 of file queue-discs-benchmark.cc.
References ns3::Time::GetMilliSeconds().
 Here is the call graph for this function:
 Here is the call graph for this function: