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

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)
 

Function Documentation

template<int node>
void PhyStateTrace ( std::string  context,
Time  start,
Time  duration,
enum WifiPhy::State  state 
)

Definition at line 81 of file wifi-sleep.cc.

References f(), ns3::Time::GetSeconds(), and ns3::Simulator::Now().

+ Here is the call graph for this function:

template<int node>
void RemainingEnergyTrace ( double  oldValue,
double  newValue 
)

Definition at line 70 of file wifi-sleep.cc.

References f(), ns3::Time::GetSeconds(), and ns3::Simulator::Now().

+ Here is the call graph for this function: