A Discrete-Event Network Simulator
API
tcp-cubic.cc File Reference
#include "tcp-cubic.h"
#include "ns3/log.h"
+ Include dependency graph for tcp-cubic.cc:

Go to the source code of this file.

Namespaces

 ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 

Macros

#define NS_LOG_APPEND_CONTEXT
 

Macro Definition Documentation

◆ NS_LOG_APPEND_CONTEXT

#define NS_LOG_APPEND_CONTEXT
Value:
{ \
std::clog << Simulator::Now().GetSeconds() << " "; \
}
double GetSeconds() const
Get an approximation of the time stored in this instance in the indicated unit.
Definition: nstime.h:403
Time Now()
create an ns3::Time instance which contains the current simulation time.
Definition: simulator.cc:305

Definition at line 19 of file tcp-cubic.cc.