#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"
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. | |
static void | GoodputSampling (ApplicationContainer app, Ptr< OutputStreamWrapper > stream, float period) |
Sample and print the queue goodput. | |
void | LimitsTrace (Ptr< OutputStreamWrapper > stream, uint32_t oldVal, uint32_t newVal) |
Print the queue limits. | |
static void | PingRtt (std::string context, uint16_t, Time rtt) |
Print the ping RTT. | |
void BytesInQueueTrace | ( | Ptr< OutputStreamWrapper > | stream, |
uint32_t | oldVal, | ||
uint32_t | newVal ) |
Print the bytes in the queue.
stream | The output stream. |
oldVal | Old value. |
newVal | New value. |
Definition at line 79 of file queue-discs-benchmark.cc.
References ns3::Time::GetSeconds(), and ns3::Simulator::Now().
|
static |
Sample and print the queue goodput.
app | The Tx app. |
stream | The output stream. |
period | The sampling period. |
Definition at line 92 of file queue-discs-benchmark.cc.
References ns3::DynamicCast(), ns3::Time::GetSeconds(), GoodputSampling(), ns3::Simulator::Now(), ns3::Simulator::Schedule(), and ns3::Seconds().
Referenced by GoodputSampling().
void LimitsTrace | ( | Ptr< OutputStreamWrapper > | stream, |
uint32_t | oldVal, | ||
uint32_t | newVal ) |
Print the queue limits.
stream | The output stream. |
oldVal | Old value. |
newVal | New value. |
Definition at line 66 of file queue-discs-benchmark.cc.
References ns3::Time::GetSeconds(), and ns3::Simulator::Now().
|
static |
Print the ping RTT.
context | The context. |
rtt | The RTT. |
Definition at line 108 of file queue-discs-benchmark.cc.
References ns3::Time::GetMilliSeconds().