A Discrete-Event Network Simulator
bench-simulator.cc File Reference
#include <iomanip>
#include <iostream>
#include <fstream>
#include <vector>
#include <string.h>
#include "ns3/core-module.h"
+ Include dependency graph for bench-simulator.cc:

Go to the source code of this file.


class  Bench


#define DEB(x)   if (g_debug) { LOGME (x) ; }
#define LOG(x)   std::cout << x << std::endl
#define LOGME(x)   LOG (g_me << x)


Ptr< RandomVariableStreamGetRandomStream (std::string filename)


bool g_debug = false
int g_fwidth = 6
std::string g_me

Macro Definition Documentation

#define DEB (   x)    if (g_debug) { LOGME (x) ; }

Definition at line 37 of file bench-simulator.cc.

Referenced by Bench::Cb(), and Bench::RunBench().

#define LOG (   x)    std::cout << x << std::endl
#define LOGME (   x)    LOG (g_me << x)

Definition at line 36 of file bench-simulator.cc.

Referenced by GetRandomStream().

Function Documentation

Ptr<RandomVariableStream> GetRandomStream ( std::string  filename)

Definition at line 128 of file bench-simulator.cc.

References LOGME, and ns3::ObjectBase::SetAttribute().

+ Here is the call graph for this function:

Variable Documentation

bool g_debug = false

Definition at line 32 of file bench-simulator.cc.

int g_fwidth = 6

Definition at line 40 of file bench-simulator.cc.

Referenced by Bench::RunBench().

std::string g_me

Definition at line 34 of file bench-simulator.cc.