#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"
Go to the source code of this file.
Functions | |
void | BuildAppsTest (uint32_t test) |
Setup the apps. More... | |
void | CheckQueueSize (Ptr< QueueDisc > queue) |
Check the queue size and write its stats to the output files. More... | |
Variables | |
double | avgQueueSize |
Average Queue size. More... | |
uint32_t | checkTimes |
Number of times the queues have been checked. More... | |
double | client_start_time |
Client start time. More... | |
double | client_stop_time |
Client stop time. More... | |
std::stringstream | filePlotQueue |
Output file name for queue size. More... | |
std::stringstream | filePlotQueueAvg |
Output file name for queue average. More... | |
double | global_start_time |
Global start time. More... | |
double | global_stop_time |
Global stop time. More... | |
Ipv4InterfaceContainer | i0i2 |
IPv4 interface container i0 + i2. More... | |
Ipv4InterfaceContainer | i1i2 |
IPv4 interface container i1 + i2. More... | |
Ipv4InterfaceContainer | i2i3 |
IPv4 interface container i2 + i3. More... | |
Ipv4InterfaceContainer | i3i4 |
IPv4 interface container i3 + i4. More... | |
Ipv4InterfaceContainer | i3i5 |
IPv4 interface container i3 + i5. More... | |
NodeContainer | n0n2 |
Nodecontainer n0 + n2. More... | |
NodeContainer | n1n2 |
Nodecontainer n1 + n2. More... | |
NodeContainer | n2n3 |
Nodecontainer n2 + n3. More... | |
NodeContainer | n3n4 |
Nodecontainer n3 + n4. More... | |
NodeContainer | n3n5 |
Nodecontainer n3 + n5. More... | |
double | sink_start_time |
Sink start time. More... | |
double | sink_stop_time |
Sink stop time. More... | |
void BuildAppsTest | ( | uint32_t | test | ) |
Check the queue size and write its stats to the output files.
queue | The queue to check. |
Definition at line 84 of file red-tests.cc.
References openflow-switch::app, avgQueueSize, checkTimes, filePlotQueue, filePlotQueueAvg, fPlotQueue, ns3::QueueDisc::GetCurrentSize(), ns3::Time::GetSeconds(), ns3::QueueSize::GetValue(), ns3::Simulator::Now(), ns3::Simulator::Schedule(), and ns3::Seconds().
double avgQueueSize |
uint32_t checkTimes |
Number of times the queues have been checked.
Definition at line 52 of file red-tests.cc.
Referenced by CheckQueueSize().
double client_start_time |
Client start time.
Definition at line 60 of file red-tests.cc.
double client_stop_time |
Client stop time.
Definition at line 61 of file red-tests.cc.
std::stringstream filePlotQueue |
Output file name for queue size.
Definition at line 75 of file red-tests.cc.
Referenced by CheckQueueSize().
std::stringstream filePlotQueueAvg |
Output file name for queue average.
Definition at line 76 of file red-tests.cc.
Referenced by CheckQueueSize().
double global_start_time |
Global start time.
Definition at line 56 of file red-tests.cc.
double global_stop_time |
Global stop time.
Definition at line 57 of file red-tests.cc.
IPv4 interface container i0 + i2.
Definition at line 69 of file red-tests.cc.
IPv4 interface container i1 + i2.
Definition at line 70 of file red-tests.cc.
IPv4 interface container i2 + i3.
Definition at line 71 of file red-tests.cc.
IPv4 interface container i3 + i4.
Definition at line 72 of file red-tests.cc.
IPv4 interface container i3 + i5.
Definition at line 73 of file red-tests.cc.
NodeContainer n0n2 |
Nodecontainer n0 + n2.
Definition at line 63 of file red-tests.cc.
NodeContainer n1n2 |
Nodecontainer n1 + n2.
Definition at line 64 of file red-tests.cc.
NodeContainer n2n3 |
Nodecontainer n2 + n3.
Definition at line 65 of file red-tests.cc.
NodeContainer n3n4 |
Nodecontainer n3 + n4.
Definition at line 66 of file red-tests.cc.
NodeContainer n3n5 |
Nodecontainer n3 + n5.
Definition at line 67 of file red-tests.cc.
double sink_start_time |
Sink start time.
Definition at line 58 of file red-tests.cc.
double sink_stop_time |
Sink stop time.
Definition at line 59 of file red-tests.cc.