#include "ns3/attribute-container.h"#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/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/spectrum-wifi-helper.h"#include "ns3/ssid.h"#include "ns3/string.h"#include "ns3/udp-client-server-helper.h"#include "ns3/udp-server.h"#include "ns3/uinteger.h"#include "ns3/wifi-acknowledgment.h"#include "ns3/yans-wifi-channel.h"#include "ns3/yans-wifi-helper.h"#include <algorithm>#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, Time simulationTime) | 
| Print average throughput over an intermediate time interval. | |
$ ./ns3 run "wifi-eht-network [Program Options]"
--frequency  --frequency2  --frequency3  --emlsrMgrTypeId  --emlsrLinks  --emlsrPaddingDelay  --emlsrTransitionDelay  --emlsrAuxSwitch  --emlsrAuxChWidth  --emlsrAuxTxCapable  --channelSwitchDelay  --distance  --simulationTime  --udp  --downlink  --useRts  --use80Plus80  --mpduBufferSize  --nStations  --dlAckType  --enableUlOfdma  --enableBsrp  --muSchedAccessReqInterval  --mcs  --channelWidth  --guardInterval  --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 68 of file wifi-eht-network.cc.
References ns3::DynamicCast(), 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, | ||
| Time | 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 98 of file wifi-eht-network.cc.
References ns3::Time::As(), ns3::Time::GetMicroSeconds(), GetRxBytes(), Min, ns3::NanoSeconds(), ns3::Simulator::Now(), PrintIntermediateTput(), ns3::Time::S, and ns3::Simulator::Schedule().
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: