A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
cobalt-vs-codel.cc File Reference
#include "ns3/applications-module.h"
#include "ns3/core-module.h"
#include "ns3/internet-module.h"
#include "ns3/ipv6-routing-table-entry.h"
#include "ns3/ipv6-static-routing-helper.h"
#include "ns3/network-module.h"
#include "ns3/point-to-point-module.h"
#include "ns3/tcp-header.h"
#include "ns3/traffic-control-module.h"
#include <fstream>
#include <string>
+ Include dependency graph for cobalt-vs-codel.cc:

Go to the source code of this file.

Functions

void CheckQueueSize (Ptr< QueueDisc > queue, std::string queue_disc_type)
 
static void CwndTrace (Ptr< OutputStreamWrapper > stream, uint32_t oldCwnd, uint32_t newCwnd)
 
void experiment (std::string queue_disc_type)
 
static void TraceCwnd (std::string queue_disc_type)
 

Variables

std::string dir = "MixTraffic/"
 

Function Documentation

◆ CheckQueueSize()

void CheckQueueSize ( Ptr< QueueDisc queue,
std::string  queue_disc_type 
)

Definition at line 46 of file cobalt-vs-codel.cc.

References CheckQueueSize(), dir, ns3::Time::GetSeconds(), ns3::Simulator::Now(), ns3::Simulator::Schedule(), and ns3::Seconds().

Referenced by CheckQueueSize(), and experiment().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CwndTrace()

static void CwndTrace ( Ptr< OutputStreamWrapper stream,
uint32_t  oldCwnd,
uint32_t  newCwnd 
)
static

Definition at line 59 of file cobalt-vs-codel.cc.

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

Referenced by InstallBulkSend(), and TraceCwnd().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ experiment()

◆ TraceCwnd()

static void TraceCwnd ( std::string  queue_disc_type)
static

Definition at line 65 of file cobalt-vs-codel.cc.

References ns3::Config::ConnectWithoutContext(), ns3::AsciiTraceHelper::CreateFileStream(), CwndTrace(), dir, and ns3::MakeBoundCallback().

Referenced by experiment().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ dir

std::string dir = "MixTraffic/"

Definition at line 43 of file cobalt-vs-codel.cc.

Referenced by CheckQueueSize(), experiment(), and TraceCwnd().