#include "ns3/core-module.h"
#include "ns3/network-module.h"
#include "ns3/mobility-module.h"
#include "ns3/config-store-module.h"
#include "ns3/wifi-module.h"
#include "ns3/internet-module.h"
#include "ns3/applications-module.h"
#include "ns3/energy-module.h"
#include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include <sstream>
Go to the source code of this file.
Functions | |
template<int node> | |
void | PhyStateTrace (std::string context, Time start, Time duration, enum WifiPhy::State state) |
template<int node> | |
void | RemainingEnergyTrace (double oldValue, double newValue) |
void PhyStateTrace | ( | std::string | context, |
Time | start, | ||
Time | duration, | ||
enum WifiPhy::State | state | ||
) |
Definition at line 81 of file wifi-sleep.cc.
References ns3::Time::GetSeconds(), and ns3::Simulator::Now().
void RemainingEnergyTrace | ( | double | oldValue, |
double | newValue | ||
) |
Definition at line 70 of file wifi-sleep.cc.
References ns3::Time::GetSeconds(), and ns3::Simulator::Now().