#include "ns3/basic-energy-source-helper.h"
#include "ns3/command-line.h"
#include "ns3/config.h"
#include "ns3/internet-stack-helper.h"
#include "ns3/ipv4-address-helper.h"
#include "ns3/log.h"
#include "ns3/mobility-helper.h"
#include "ns3/mobility-model.h"
#include "ns3/on-off-helper.h"
#include "ns3/packet-sink-helper.h"
#include "ns3/string.h"
#include "ns3/wifi-net-device.h"
#include "ns3/wifi-radio-energy-model-helper.h"
#include "ns3/wifi-utils.h"
#include "ns3/yans-wifi-channel.h"
#include "ns3/yans-wifi-helper.h"
Go to the source code of this file.
Functions | |
template<int node> | |
void | PhyStateTrace (std::string context, Time start, Time duration, WifiPhyState state) |
PHY state trace sink. | |
template<int node> | |
void | RemainingEnergyTrace (double oldValue, double newValue) |
Remaining energy trace sink. | |
void PhyStateTrace | ( | std::string | context, |
Time | start, | ||
Time | duration, | ||
WifiPhyState | state ) |
PHY state trace sink.
node | The node ID this trace belongs to. |
context | The context |
start | Start time for the current state |
duration | Duratio of the current state |
state | State |
Definition at line 88 of file wifi-sleep.cc.
References ns3::Time::GetSeconds(), and ns3::Simulator::Now().
Remaining energy trace sink.
node | The node ID this trace belongs to. |
oldValue | Old value. |
newValue | New value. |
Definition at line 67 of file wifi-sleep.cc.
References ns3::Time::GetSeconds(), and ns3::Simulator::Now().