#include "ns3/applications-module.h"
#include "ns3/core-module.h"
#include "ns3/flow-monitor-module.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 <filesystem>
Go to the source code of this file.
Functions | |
void | CheckQueueSize (Ptr< QueueDisc > qd) |
static void | CwndTracer (Ptr< OutputStreamWrapper > stream, uint32_t oldval, uint32_t newval) |
void | TraceCwnd (uint32_t nodeId, uint32_t socketId) |
static void | TraceThroughput (Ptr< FlowMonitor > monitor) |
Variables | |
std::string | dir |
uint32_t | prev = 0 |
Time | prevTime = Seconds(0) |
std::ofstream | queueSize |
std::ofstream | throughput |
Definition at line 95 of file tcp-bbr-example.cc.
References ns3::QueueDisc::GetCurrentSize(), ns3::Time::GetSeconds(), ns3::QueueSize::GetValue(), ns3::Simulator::Now(), queueSize, ns3::Simulator::Schedule(), and ns3::Seconds().
|
static |
Definition at line 104 of file tcp-bbr-example.cc.
References ns3::Time::GetSeconds(), ns3::OutputStreamWrapper::GetStream(), and ns3::Simulator::Now().
Referenced by TraceCwnd().
void TraceCwnd | ( | uint32_t | nodeId, |
uint32_t | socketId | ||
) |
Definition at line 110 of file tcp-bbr-example.cc.
References ns3::Config::ConnectWithoutContext(), ns3::AsciiTraceHelper::CreateFileStream(), CwndTracer(), dir, ns3::MakeBoundCallback(), and nlohmann::to_string().
|
static |
Definition at line 77 of file tcp-bbr-example.cc.
References ns3::Now(), prev, prevTime, ns3::Simulator::Schedule(), ns3::Seconds(), throughput, and ns3::Time::US.
std::string dir |
Definition at line 68 of file tcp-bbr-example.cc.
Referenced by ns3::WifiMac::ApplyTidLinkMapping(), MultiLinkSetupTest::CheckAssocRequest(), MultiLinkSetupTest::CheckMlSetup(), MultiLinkSetupTest::CheckQosData(), WrapToRangeTestCase::CheckWrappingPoint(), ns3::IpcsClassifier::Classify(), ns3::ServiceFlowManager::DoClassify(), EmlsrOperationsTestBase::GetApplication(), ns3::EhtConfiguration::GetTidLinkMapping(), ns3::WifiMac::GetTidToLinkMapping(), ns3::EhtConfiguration::SetTidLinkMapping(), ns3::WifiMac::TidMappedOnLink(), TraceCwnd(), ns3::OnoeWifiManager::UpdateMode(), and ns3::WifiMac::UpdateTidToLinkMapping().
uint32_t prev = 0 |
Definition at line 72 of file tcp-bbr-example.cc.
Referenced by ns3::PacketMetadata::AddBig(), MultiLinkSetupTest::CheckQosData(), WifiUseAvailBwTest::CheckResults(), OfdmaAckSequenceTest::CheckResults(), ns3::YansWifiChannelHelper::Create(), ns3::WifiMacQueueSchedulerImpl< Priority, Compare >::DoGetNext(), ns3::EmpiricalRandomVariable::DoInterpolate(), ns3::WifiPhyOperatingChannel::Get20MHzIndicesCoveringRu(), ns3::BlockAckManager::HandleInFlightMpdu(), ns3::PacketTagIterator::Next(), ns3::PacketTagList::RemoveAll(), ns3::EmpiricalRandomVariable::SetInterpolate(), ns3::EhtPpdu::SetTxVectorFromPhyHeaders(), StorePtr(), and TraceThroughput().
Time prevTime = Seconds(0) |
Definition at line 73 of file tcp-bbr-example.cc.
Referenced by ns3::UdpTraceClient::LoadDefaultTrace(), ns3::UdpTraceClient::LoadTrace(), and TraceThroughput().
std::ofstream queueSize |
Definition at line 70 of file tcp-bbr-example.cc.
Referenced by PieQueueDiscTestCase::CheckMaxAccuProb(), CheckQueueSize(), ns3::LteRlcTm::DoReportBufferStatus(), ns3::LteRlcUm::DoReportBufferStatus(), ns3::QosTxop::GetQosQueueSize(), ns3::WimaxMacQueue::GetQueueLengthWithMACOverhead(), ns3::dsr::DsrRouting::PriorityScheduler(), ns3::LrWpanMac::SetIndTxQMaxSize(), ns3::LrWpanMac::SetTxQMaxSize(), and ns3::RrMultiUserScheduler::TrySendingBasicTf().
std::ofstream throughput |
Definition at line 69 of file tcp-bbr-example.cc.
Referenced by LteAggregationThroughputScaleTestCase::DoRun(), LenaFdMtFfMacSchedulerTestCase::DoRun(), LteRlcAmE2eTestCase::DoRun(), LenaTdMtFfMacSchedulerTestCase::DoRun(), LenaTtaFfMacSchedulerTestCase::DoRun(), Experiment::Run(), Throughput(), TraceFirstThroughput(), TraceThroughput(), and ns3::MinstrelWifiManager::UpdateStats().