A Discrete-Event Network Simulator
wifi-tcp.cc File Reference
#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"
+ Include dependency graph for wifi-tcp.cc:

Go to the source code of this file.


void CalculateThroughput ()


uint64_t lastTotalRx = 0
Ptr< PacketSinksink

Function Documentation

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().

+ Here is the call graph for this function:

Variable Documentation

uint64_t lastTotalRx = 0

Definition at line 48 of file wifi-tcp.cc.

Referenced by CalculateThroughput().