#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/error-model.h"
#include "ns3/tcp-header.h"
#include "ns3/udp-header.h"
#include "ns3/enum.h"
#include "ns3/event-id.h"
#include "ns3/flow-monitor-helper.h"
#include "ns3/ipv4-global-routing-helper.h"
#include "ns3/traffic-control-module.h"
Go to the source code of this file.
Functions | |
static void | CwndTracer (uint32_t oldval, uint32_t newval) |
static void | RtoTracer (Time oldval, Time newval) |
static void | RttTracer (Time oldval, Time newval) |
static void | SsThreshTracer (uint32_t oldval, uint32_t newval) |
static void | TraceCwnd (std::string cwnd_tr_file_name) |
static void | TraceRto (std::string rto_tr_file_name) |
static void | TraceRtt (std::string rtt_tr_file_name) |
static void | TraceSsThresh (std::string ssthresh_tr_file_name) |
Variables | |
Ptr< OutputStreamWrapper > | cWndStream |
uint32_t | cWndValue |
bool | firstCwnd = true |
bool | firstRto = true |
bool | firstRtt = true |
bool | firstSshThr = true |
Ptr< OutputStreamWrapper > | rtoStream |
Ptr< OutputStreamWrapper > | rttStream |
Ptr< OutputStreamWrapper > | ssThreshStream |
uint32_t | ssThreshValue |
|
static |
Definition at line 71 of file tcp-variants-comparison.cc.
References cWndValue, firstCwnd, firstSshThr, ns3::Time::GetSeconds(), ns3::OutputStreamWrapper::GetStream(), ns3::Simulator::Now(), and ssThreshValue.
Referenced by TraceCwnd().
Definition at line 116 of file tcp-variants-comparison.cc.
References firstRto, ns3::Time::GetSeconds(), ns3::OutputStreamWrapper::GetStream(), and ns3::Simulator::Now().
Referenced by TraceRto().
Definition at line 105 of file tcp-variants-comparison.cc.
References firstRtt, ns3::Time::GetSeconds(), ns3::OutputStreamWrapper::GetStream(), and ns3::Simulator::Now().
Referenced by TraceRtt().
|
static |
Definition at line 88 of file tcp-variants-comparison.cc.
References cWndValue, firstCwnd, firstSshThr, ns3::Time::GetSeconds(), ns3::OutputStreamWrapper::GetStream(), ns3::Simulator::Now(), and ssThreshValue.
Referenced by TraceSsThresh().
|
static |
Definition at line 128 of file tcp-variants-comparison.cc.
References ns3::Config::ConnectWithoutContext(), ns3::AsciiTraceHelper::CreateFileStream(), CwndTracer(), and ns3::MakeCallback().
|
static |
Definition at line 152 of file tcp-variants-comparison.cc.
References ns3::Config::ConnectWithoutContext(), ns3::AsciiTraceHelper::CreateFileStream(), ns3::MakeCallback(), and RtoTracer().
|
static |
Definition at line 144 of file tcp-variants-comparison.cc.
References ns3::Config::ConnectWithoutContext(), ns3::AsciiTraceHelper::CreateFileStream(), ns3::MakeCallback(), and RttTracer().
|
static |
Definition at line 136 of file tcp-variants-comparison.cc.
References ns3::Config::ConnectWithoutContext(), ns3::AsciiTraceHelper::CreateFileStream(), ns3::MakeCallback(), and SsThreshTracer().
Ptr<OutputStreamWrapper> cWndStream |
Definition at line 62 of file tcp-variants-comparison.cc.
uint32_t cWndValue |
Definition at line 66 of file tcp-variants-comparison.cc.
Referenced by CwndTracer(), and SsThreshTracer().
bool firstCwnd = true |
Definition at line 58 of file tcp-variants-comparison.cc.
Referenced by CwndTracer(), and SsThreshTracer().
bool firstRto = true |
Definition at line 61 of file tcp-variants-comparison.cc.
Referenced by RtoTracer().
bool firstRtt = true |
Definition at line 60 of file tcp-variants-comparison.cc.
Referenced by RttTracer().
bool firstSshThr = true |
Definition at line 59 of file tcp-variants-comparison.cc.
Referenced by CwndTracer(), and SsThreshTracer().
Ptr<OutputStreamWrapper> rtoStream |
Definition at line 65 of file tcp-variants-comparison.cc.
Ptr<OutputStreamWrapper> rttStream |
Definition at line 64 of file tcp-variants-comparison.cc.
Ptr<OutputStreamWrapper> ssThreshStream |
Definition at line 63 of file tcp-variants-comparison.cc.
uint32_t ssThreshValue |
Definition at line 67 of file tcp-variants-comparison.cc.
Referenced by CwndTracer(), and SsThreshTracer().