3 #include "ns3/simulator.h"
4 #include "ns3/realtime-simulator-impl.h"
5 #include "ns3/nstime.h"
7 #include "ns3/system-thread.h"
8 #include "ns3/string.h"
9 #include "ns3/config.h"
10 #include "ns3/global-value.h"
63 for (uint32_t i = 0; i < 10000; ++i)
90 for (
double d = 0.; d < 14.999; d += 0.01)
smart pointer class similar to boost::intrusive_ptr
NS_LOG_COMPONENT_DEFINE("GrantedTimeWindowMpiInterface")
hold variables of type string
int main(int argc, char *argv[])
void Start(void)
Start a thread of execution, running the provided callback.
#define NS_ASSERT(condition)
static void Run(void)
Run the simulation until one of:
#define NS_LOG_FUNCTION_NOARGS()
Output the name of the function.
static EventId Schedule(Time const &time, MEM mem_ptr, OBJ obj)
Schedule an event to expire at the relative time "time" is reached.
Callback< R > MakeCallback(R(T::*memPtr)(void), OBJ objPtr)
static void Bind(std::string name, const AttributeValue &value)
static void ScheduleWithContext(uint32_t context, Time const &time, MEM mem_ptr, OBJ obj)
Schedule an event with the given context.
static void Destroy(void)
Every event scheduled by the Simulator::insertAtDestroy method is invoked.
void first_function(void)
#define NS_LOG_UNCOND(msg)
static Time Now(void)
Return the "current simulation time".
void background_function(void)
static void Stop(void)
If an event invokes this method, it will be the last event scheduled by the Simulator::run method bef...
void Join(void)
Suspend the caller until the thread of execution, running the provided callback, finishes.
EventImpl * MakeEvent(void(*f)(void))
void inserted_function(void)