A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
main-test-sync.cc File Reference
#include "ns3/simulator.h"
#include "ns3/realtime-simulator-impl.h"
#include "ns3/nstime.h"
#include "ns3/log.h"
#include "ns3/system-thread.h"
#include "ns3/string.h"
#include "ns3/config.h"
#include "ns3/global-value.h"
#include "ns3/ptr.h"
#include <unistd.h>
#include <sys/time.h>
+ Include dependency graph for main-test-sync.cc:

Go to the source code of this file.

Classes

class  FakeNetDevice
 

Functions

void background_function (void)
 
void first_function (void)
 
void inserted_function (void)
 
int main (int argc, char *argv[])
 
 NS_LOG_COMPONENT_DEFINE ("TestSync")
 
void test (void)
 

Variables

bool gFirstRun = false
 

Function Documentation

void background_function ( void  )

Definition at line 31 of file main-test-sync.cc.

References gFirstRun, ns3::Simulator::Now(), NS_ASSERT, and NS_LOG_UNCOND.

Referenced by test().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void first_function ( void  )

Definition at line 39 of file main-test-sync.cc.

References gFirstRun, ns3::Simulator::Now(), and NS_LOG_UNCOND.

Referenced by test().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void inserted_function ( void  )

Definition at line 23 of file main-test-sync.cc.

References gFirstRun, ns3::Simulator::Now(), NS_ASSERT, and NS_LOG_UNCOND.

Referenced by FakeNetDevice::Doit3().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int main ( int  argc,
char *  argv[] 
)

Definition at line 106 of file main-test-sync.cc.

References test().

+ Here is the call graph for this function:

NS_LOG_COMPONENT_DEFINE ( "TestSync"  )

Variable Documentation

bool gFirstRun = false

Definition at line 20 of file main-test-sync.cc.

Referenced by background_function(), first_function(), and inserted_function().