#include <iomanip>
#include <iostream>
#include <fstream>
#include <vector>
#include <string.h>
#include "ns3/core-module.h"
Go to the source code of this file.
Classes | |
class | Bench |
Macros | |
#define | DEB(x) if (g_debug) { LOGME (x) ; } |
#define | LOG(x) std::cout << x << std::endl |
#define | LOGME(x) LOG (g_me << x) |
Functions | |
Ptr< RandomVariableStream > | GetRandomStream (std::string filename) |
int | main (int argc, char *argv[]) |
Variables | |
bool | g_debug = false |
int | g_fwidth = 6 |
std::string | g_me |
Definition at line 37 of file bench-simulator.cc.
Referenced by Bench::Cb(), main(), and Bench::RunBench().
#define LOG | ( | x | ) | std::cout << x << std::endl |
Definition at line 35 of file bench-simulator.cc.
Referenced by CreateTap(), main(), Bench::RunBench(), ns3::SendSocket(), SetIpv4(), SetIpv6(), SetMacAddress(), and SetUp().
Definition at line 36 of file bench-simulator.cc.
Referenced by GetRandomStream(), and main().
Ptr<RandomVariableStream> GetRandomStream | ( | std::string | filename | ) |
Definition at line 128 of file bench-simulator.cc.
References LOGME, and ns3::ObjectBase::SetAttribute().
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 182 of file bench-simulator.cc.
References ns3::CommandLine::AddValue(), DEB, g_debug, g_fwidth, g_me, ns3::TypeId::GetName(), ns3::CommandLine::GetName(), GetRandomStream(), ns3::ObjectFactory::GetTypeId(), LOG, LOGME, ns3::CommandLine::Parse(), Bench::RunBench(), Bench::SetPopulation(), Bench::SetRandomStream(), ns3::Simulator::SetScheduler(), Bench::SetTotal(), ns3::ObjectFactory::SetTypeId(), and ns3::CommandLine::Usage().
bool g_debug = false |
Definition at line 32 of file bench-simulator.cc.
Referenced by main().
int g_fwidth = 6 |
Definition at line 40 of file bench-simulator.cc.
Referenced by main(), and Bench::RunBench().
std::string g_me |
Definition at line 34 of file bench-simulator.cc.
Referenced by main().