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

Go to the source code of this file.

Functions

void BuildAppsTest ()
 
void CheckQueueDiscSize (Ptr< QueueDisc > queue)
 

Variables

double avgQueueDiscSize
 
uint32_t checkTimes
 
double client_start_time
 
double client_stop_time
 
std::stringstream filePlotQueueDisc
 
std::stringstream filePlotQueueDiscAvg
 
double global_start_time
 
double global_stop_time
 
Ipv4InterfaceContainer i0i2
 
Ipv4InterfaceContainer i1i2
 
Ipv4InterfaceContainer i2i3
 
Ipv4InterfaceContainer i3i4
 
Ipv4InterfaceContainer i3i5
 
NodeContainer n0n2
 
NodeContainer n1n2
 
NodeContainer n2n3
 
NodeContainer n3n4
 
NodeContainer n3n5
 
double sink_start_time
 
double sink_stop_time
 

Function Documentation

◆ BuildAppsTest()

◆ CheckQueueDiscSize()

void CheckQueueDiscSize ( Ptr< QueueDisc > queue)

Definition at line 62 of file pie-example.cc.

References avgQueueDiscSize, CheckQueueDiscSize(), checkTimes, filePlotQueueDisc, filePlotQueueDiscAvg, ns3::Time::GetSeconds(), ns3::Simulator::Now(), ns3::Simulator::Schedule(), and ns3::Seconds().

Referenced by CheckQueueDiscSize().

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

Variable Documentation

◆ avgQueueDiscSize

double avgQueueDiscSize

Definition at line 36 of file pie-example.cc.

Referenced by CheckQueueDiscSize().

◆ checkTimes

uint32_t checkTimes

Definition at line 35 of file pie-example.cc.

Referenced by CheckQueueDiscSize().

◆ client_start_time

double client_start_time

Definition at line 43 of file pie-example.cc.

Referenced by BuildAppsTest().

◆ client_stop_time

double client_stop_time

Definition at line 44 of file pie-example.cc.

Referenced by BuildAppsTest().

◆ filePlotQueueDisc

std::stringstream filePlotQueueDisc

Definition at line 58 of file pie-example.cc.

Referenced by CheckQueueDiscSize().

◆ filePlotQueueDiscAvg

std::stringstream filePlotQueueDiscAvg

Definition at line 59 of file pie-example.cc.

Referenced by CheckQueueDiscSize().

◆ global_start_time

double global_start_time

Definition at line 39 of file pie-example.cc.

◆ global_stop_time

double global_stop_time

Definition at line 40 of file pie-example.cc.

◆ i0i2

Definition at line 52 of file pie-example.cc.

◆ i1i2

Definition at line 53 of file pie-example.cc.

◆ i2i3

Definition at line 54 of file pie-example.cc.

◆ i3i4

Definition at line 55 of file pie-example.cc.

Referenced by BuildAppsTest().

◆ i3i5

Definition at line 56 of file pie-example.cc.

◆ n0n2

Definition at line 46 of file pie-example.cc.

Referenced by BuildAppsTest().

◆ n1n2

Definition at line 47 of file pie-example.cc.

Referenced by BuildAppsTest().

◆ n2n3

Definition at line 48 of file pie-example.cc.

◆ n3n4

Definition at line 49 of file pie-example.cc.

Referenced by BuildAppsTest().

◆ n3n5

Definition at line 50 of file pie-example.cc.

◆ sink_start_time

double sink_start_time

Definition at line 41 of file pie-example.cc.

Referenced by BuildAppsTest().

◆ sink_stop_time

double sink_stop_time

Definition at line 42 of file pie-example.cc.

Referenced by BuildAppsTest().