A Discrete-Event Network Simulator
API
nms-p2p-nix-distributed.cc File Reference
#include <cstdlib>
#include <sys/time.h>
#include <fstream>
#include <vector>
#include "ns3/core-module.h"
#include "ns3/internet-module.h"
#include "ns3/network-module.h"
#include "ns3/on-off-helper.h"
#include "ns3/packet-sink-helper.h"
#include "ns3/point-to-point-helper.h"
#include "ns3/mpi-interface.h"
#include "ns3/ipv4-nix-vector-helper.h"
+ Include dependency graph for nms-p2p-nix-distributed.cc:

Go to the source code of this file.

Macros

#define TIMER_DIFF(_t1, _t2)   (TIMER_SECONDS (_t1) - TIMER_SECONDS (_t2))
 
#define TIMER_NOW(_t)   gettimeofday (&_t,NULL);
 
#define TIMER_SECONDS(_t)   ((double)(_t).tv_sec + (_t).tv_usec * 1e-6)
 

Typedefs

typedef struct timeval TIMER_TYPE
 

Macro Definition Documentation

#define TIMER_DIFF (   _t1,
  _t2 
)    (TIMER_SECONDS (_t1) - TIMER_SECONDS (_t2))

Definition at line 56 of file nms-p2p-nix-distributed.cc.

#define TIMER_NOW (   _t)    gettimeofday (&_t,NULL);

Definition at line 54 of file nms-p2p-nix-distributed.cc.

#define TIMER_SECONDS (   _t)    ((double)(_t).tv_sec + (_t).tv_usec * 1e-6)

Definition at line 55 of file nms-p2p-nix-distributed.cc.

Typedef Documentation

typedef struct timeval TIMER_TYPE

Definition at line 53 of file nms-p2p-nix-distributed.cc.