#include "ns3/applications-module.h"
#include "ns3/core-module.h"
#include "ns3/internet-module.h"
#include "ns3/mobility-module.h"
#include "ns3/network-module.h"
#include "ns3/point-to-point-module.h"
#include "ns3/wifi-module.h"
Go to the source code of this file.
Functions | |
void | CalculateThroughput () |
Variables | |
uint64_t | lastTotalRx = 0 |
Ptr< PacketSink > | sink |
void CalculateThroughput | ( | ) |
Definition at line 51 of file wifi-tcp.cc.
References ns3::Time::GetSeconds(), ns3::PacketSink::GetTotalRx(), lastTotalRx, ns3::MilliSeconds(), ns3::Simulator::Now(), and ns3::Simulator::Schedule().
uint64_t lastTotalRx = 0 |
Definition at line 48 of file wifi-tcp.cc.
Referenced by CalculateThroughput().
Ptr<PacketSink> sink |
Definition at line 47 of file wifi-tcp.cc.
Referenced by Experiment::ApplicationSetup(), TracedValueCallbackTestCase::CheckType(), Ns3TcpNoDelayTestCase::DoRun(), Ns3TcpSocketTestCase1::DoRun(), ns3::TcpEndPointBug2211Test::DoRun(), NscTcpLossTestCase1::DoRun(), CsmaBridgeTestCase::DoRun(), Ns3TcpLossTestCase::DoRun(), Ns3TcpStateTestCase::DoRun(), BriteTopologyFunctionTestCase::DoRun(), Ns3TcpSocketTestCase2::DoRun(), CsmaBroadcastTestCase::DoRun(), NscTcpLossTestCase2::DoRun(), CsmaMulticastTestCase::DoRun(), Ns3TcpCwndTestCase2::DoRun(), CsmaOneSubnetTestCase::DoRun(), CsmaPacketSocketTestCase::DoRun(), CsmaPingTestCase::DoRun(), CsmaRawIpSocketTestCase::DoRun(), DsdvManetExample::InstallApplications(), TracedCallbackTypedefTestCase::Checker< T1, T2, T3, T4, T5 >::Invoke(), TracedCallbackTypedefTestCase::Checker< T1, T2, T3, T4, empty >::Invoke(), TracedCallbackTypedefTestCase::Checker< T1, T2, T3, empty, empty >::Invoke(), TracedCallbackTypedefTestCase::Checker< T1, T2, empty, empty, empty >::Invoke(), TracedCallbackTypedefTestCase::Checker< T1, empty, empty, empty, empty >::Invoke(), NetAnimExperiment::Run(), Experiment::Run(), RoutingExperiment::Run(), RunSimulation(), DsdvManetExample::SetupPacketReceive(), Experiment::SetupPacketReceive(), RoutingExperiment::SetupPacketReceive(), SetupPacketReceive(), RoutingHelper::SetupRoutingMessages(), and RoutingHelper::SetupRoutingPacketReceive().