A Discrete-Event Network Simulator
API
codel-vs-pfifo-asymmetric.cc File Reference
#include <iostream>
#include <fstream>
#include <string>
#include "ns3/core-module.h"
#include "ns3/network-module.h"
#include "ns3/internet-module.h"
#include "ns3/point-to-point-module.h"
#include "ns3/applications-module.h"
#include "ns3/config-store-module.h"
#include "ns3/error-model.h"
#include "ns3/tcp-header.h"
#include "ns3/udp-header.h"
#include "ns3/enum.h"
#include "ns3/event-id.h"
#include "ns3/ipv4-global-routing-helper.h"
#include "ns3/traffic-control-module.h"
+ Include dependency graph for codel-vs-pfifo-asymmetric.cc:

Go to the source code of this file.

Functions

void CreateBulkFlow (AddressValue remoteAddress, Ptr< Node > sender, uint32_t pktSize, float stopTime)
 
void CreateOnOffFlow (AddressValue remoteAddress, Ptr< Node > sender, float stopTime)
 
static void CwndTracer (Ptr< OutputStreamWrapper >stream, uint32_t oldval, uint32_t newval)
 
static void DroppingStateTracer (Ptr< OutputStreamWrapper >stream, bool oldVal, bool newVal)
 
static void EveryDropTracer (Ptr< OutputStreamWrapper >stream, Ptr< const QueueDiscItem > item)
 
static void QueueLengthTracer (Ptr< OutputStreamWrapper >stream, uint32_t oldval, uint32_t newval)
 
static void SojournTracer (Ptr< OutputStreamWrapper >stream, Time oldval, Time newval)
 
static void TraceCwnd (std::string cwndTrFileName)
 
static void TraceDroppingState (std::string dropStateTrFileName)
 
static void TraceEveryDrop (std::string everyDropTrFileName)
 
static void TraceQueueLength (std::string queueLengthTrFileName)
 
static void TraceSojourn (std::string sojournTrFileName)
 

Function Documentation

void CreateBulkFlow ( AddressValue  remoteAddress,
Ptr< Node sender,
uint32_t  pktSize,
float  stopTime 
)
void CreateOnOffFlow ( AddressValue  remoteAddress,
Ptr< Node sender,
float  stopTime 
)
static void CwndTracer ( Ptr< OutputStreamWrapper stream,
uint32_t  oldval,
uint32_t  newval 
)
static

Definition at line 73 of file codel-vs-pfifo-asymmetric.cc.

References ns3::OutputStreamWrapper::GetStream().

Referenced by TraceCwnd().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void DroppingStateTracer ( Ptr< OutputStreamWrapper stream,
bool  oldVal,
bool  newVal 
)
static

Definition at line 161 of file codel-vs-pfifo-asymmetric.cc.

References ns3::Time::GetSeconds(), ns3::OutputStreamWrapper::GetStream(), ns3::Simulator::Now(), and NS_LOG_INFO.

Referenced by TraceDroppingState().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void EveryDropTracer ( Ptr< OutputStreamWrapper stream,
Ptr< const QueueDiscItem item 
)
static

Definition at line 139 of file codel-vs-pfifo-asymmetric.cc.

References ns3::Time::GetSeconds(), ns3::OutputStreamWrapper::GetStream(), and ns3::Simulator::Now().

Referenced by TraceEveryDrop().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void QueueLengthTracer ( Ptr< OutputStreamWrapper stream,
uint32_t  oldval,
uint32_t  newval 
)
static

Definition at line 117 of file codel-vs-pfifo-asymmetric.cc.

References ns3::OutputStreamWrapper::GetStream().

Referenced by TraceQueueLength().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void SojournTracer ( Ptr< OutputStreamWrapper stream,
Time  oldval,
Time  newval 
)
static

Definition at line 95 of file codel-vs-pfifo-asymmetric.cc.

References ns3::OutputStreamWrapper::GetStream().

Referenced by TraceSojourn().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void TraceCwnd ( std::string  cwndTrFileName)
static
static void TraceDroppingState ( std::string  dropStateTrFileName)
static
static void TraceEveryDrop ( std::string  everyDropTrFileName)
static
static void TraceQueueLength ( std::string  queueLengthTrFileName)
static
static void TraceSojourn ( std::string  sojournTrFileName)
static