A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
traffic-control-example.cc File Reference
#include "ns3/applications-module.h"
#include "ns3/core-module.h"
#include "ns3/flow-monitor-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 traffic-control-example.cc:

Go to the source code of this file.

Functions

void DevicePacketsInQueueTrace (uint32_t oldValue, uint32_t newValue)
 Packets in the device queue trace.
 
void SojournTimeTrace (Time sojournTime)
 TC Soujoun time trace.
 
void TcPacketsInQueueTrace (uint32_t oldValue, uint32_t newValue)
 Number of packets in TX queue trace.
 

Function Documentation

◆ DevicePacketsInQueueTrace()

void DevicePacketsInQueueTrace ( uint32_t oldValue,
uint32_t newValue )

Packets in the device queue trace.

Parameters
oldValueOld velue.
newValueNew value.

Definition at line 76 of file traffic-control-example.cc.

◆ SojournTimeTrace()

void SojournTimeTrace ( Time sojournTime)

TC Soujoun time trace.

Parameters
sojournTimeThe soujourn time.

Definition at line 87 of file traffic-control-example.cc.

References ns3::Time::MS, and ns3::Time::ToDouble().

+ Here is the call graph for this function:

◆ TcPacketsInQueueTrace()

void TcPacketsInQueueTrace ( uint32_t oldValue,
uint32_t newValue )

Number of packets in TX queue trace.

Parameters
oldValueOld velue.
newValueNew value.

Definition at line 64 of file traffic-control-example.cc.