#include "ns3/boolean.h"#include "ns3/command-line.h"#include "ns3/config.h"#include "ns3/double.h"#include "ns3/eht-phy.h"#include "ns3/enum.h"#include "ns3/internet-stack-helper.h"#include "ns3/ipv4-address-helper.h"#include "ns3/ipv4-global-routing-helper.h"#include "ns3/log.h"#include "ns3/mobility-helper.h"#include "ns3/multi-model-spectrum-channel.h"#include "ns3/on-off-helper.h"#include "ns3/packet-sink-helper.h"#include "ns3/packet-sink.h"#include "ns3/rng-seed-manager.h"#include "ns3/spectrum-wifi-helper.h"#include "ns3/ssid.h"#include "ns3/string.h"#include "ns3/udp-client-server-helper.h"#include "ns3/uinteger.h"#include "ns3/wifi-acknowledgment.h"#include "ns3/yans-wifi-channel.h"#include "ns3/yans-wifi-helper.h"#include <array>#include <functional>#include <numeric> Include dependency graph for wifi-eht-network.cc:
 Include dependency graph for wifi-eht-network.cc:Go to the source code of this file.
| Functions | |
| std::vector< uint64_t > | GetRxBytes (bool udp, const ApplicationContainer &serverApp, uint32_t payloadSize) | 
| void | PrintIntermediateTput (std::vector< uint64_t > &rxBytes, bool udp, const ApplicationContainer &serverApp, uint32_t payloadSize, Time tputInterval, double simulationTime) | 
| Print average throughput over an intermediate time interval.  More... | |
$ ./ns3 run "wifi-eht-network [Program Options]"
–frequency  –frequency2  –frequency3  –distance  –simulationTime  –udp  –downlink  –useRts  –useExtendedBlockAck  –nStations  –dlAckType  –enableUlOfdma  –enableBsrp  –muSchedAccessReqInterval  –mcs  –payloadSize  –tputInterval  –minExpectedThroughput  –maxExpectedThroughput  Definition in file wifi-eht-network.cc.
| std::vector<uint64_t> GetRxBytes | ( | bool | udp, | 
| const ApplicationContainer & | serverApp, | ||
| uint32_t | payloadSize | ||
| ) | 
| udp | true if UDP is used, false if TCP is used | 
| serverApp | a container of server applications | 
| payloadSize | the size in bytes of the packets | 
Definition at line 79 of file wifi-eht-network.cc.
References ns3::ApplicationContainer::Get(), and ns3::ApplicationContainer::GetN().
Referenced by PrintIntermediateTput().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| void PrintIntermediateTput | ( | std::vector< uint64_t > & | rxBytes, | 
| bool | udp, | ||
| const ApplicationContainer & | serverApp, | ||
| uint32_t | payloadSize, | ||
| Time | tputInterval, | ||
| double | simulationTime | ||
| ) | 
Print average throughput over an intermediate time interval.
| rxBytes | a vector of the amount of bytes received by each server application | 
| udp | true if UDP is used, false if TCP is used | 
| serverApp | a container of server applications | 
| payloadSize | the size in bytes of the packets | 
| tputInterval | the duration of an intermediate time interval | 
| simulationTime | the simulation time in seconds | 
Definition at line 109 of file wifi-eht-network.cc.
References ns3::Time::As(), ns3::Time::GetMicroSeconds(), GetRxBytes(), ns3::Min(), ns3::NanoSeconds(), ns3::Simulator::Now(), ns3::Time::S, ns3::Simulator::Schedule(), and ns3::Seconds().
 Here is the call graph for this function:
 Here is the call graph for this function: