equal
deleted
inserted
replaced
51 |
51 |
52 #ifdef NS3_MPI |
52 #ifdef NS3_MPI |
53 #include <mpi.h> |
53 #include <mpi.h> |
54 #endif |
54 #endif |
55 |
55 |
56 using namespace std; |
|
57 using namespace ns3; |
56 using namespace ns3; |
58 |
57 |
59 typedef struct timeval TIMER_TYPE; |
58 typedef struct timeval TIMER_TYPE; |
60 #define TIMER_NOW(_t) gettimeofday (&_t,NULL); |
59 #define TIMER_NOW(_t) gettimeofday (&_t,NULL); |
61 #define TIMER_SECONDS(_t) ((double)(_t).tv_sec + (_t).tv_usec * 1e-6) |
60 #define TIMER_SECONDS(_t) ((double)(_t).tv_sec + (_t).tv_usec * 1e-6) |