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
 Bench class. More...


#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

◆ GetRandomStream()

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

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

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

+ Here is the call graph for this function:

Variable Documentation

◆ g_debug

bool g_debug = false

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

◆ g_fwidth

int g_fwidth = 6

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

Referenced by Bench::RunBench().

◆ g_me

std::string g_me

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