OverSim
|
Parse a trace file and schedule node joins/leaves according to trace data. More...
#include <GlobalTraceManager.h>
Public Member Functions | |
GlobalTraceManager () | |
~GlobalTraceManager () | |
void | handleMessage (cMessage *msg) |
void | initialize (int stage) |
Protected Member Functions | |
void | readNextBlock () |
void | scheduleNextEvent (double time, int nodeId, char *buf, int line) |
void | createNode (int nodeId) |
void | deleteNode (int nodeId) |
cGate * | getAppGateById (int nodeId) |
Protected Attributes | |
UnderlayConfigurator * | underlayConfigurator |
GlobalNodeList * | globalNodeList |
pointer to GlobalNodeList |
Private Attributes | |
int | fd |
int | filesize |
int | chunksize |
int | remain |
int | marginsize |
int | offset |
char * | buf |
char * | start |
cMessage * | nextRead |
Static Private Attributes | |
static const int | readPages = 32 |
Parse a trace file and schedule node joins/leaves according to trace data.
If trace includes user action, send actions to application
Definition at line 37 of file GlobalTraceManager.h.
GlobalTraceManager::GlobalTraceManager | ( | ) |
Definition at line 80 of file GlobalTraceManager.cc.
GlobalTraceManager::~GlobalTraceManager | ( | ) |
Definition at line 85 of file GlobalTraceManager.cc.
|
protected |
Definition at line 169 of file GlobalTraceManager.cc.
Referenced by handleMessage().
|
protected |
Definition at line 175 of file GlobalTraceManager.cc.
Referenced by handleMessage().
|
protected |
Definition at line 243 of file GlobalTraceManager.cc.
Referenced by handleMessage().
void GlobalTraceManager::handleMessage | ( | cMessage * | msg | ) |
Definition at line 182 of file GlobalTraceManager.cc.
void GlobalTraceManager::initialize | ( | int | stage | ) |
Definition at line 41 of file GlobalTraceManager.cc.
|
protected |
Definition at line 90 of file GlobalTraceManager.cc.
Referenced by handleMessage().
|
protected |
Definition at line 160 of file GlobalTraceManager.cc.
Referenced by readNextBlock().
|
private |
Definition at line 56 of file GlobalTraceManager.h.
Referenced by readNextBlock().
|
private |
Definition at line 55 of file GlobalTraceManager.h.
Referenced by readNextBlock().
|
private |
Definition at line 55 of file GlobalTraceManager.h.
Referenced by initialize(), and readNextBlock().
|
private |
Definition at line 55 of file GlobalTraceManager.h.
Referenced by initialize(), and readNextBlock().
|
protected |
pointer to GlobalNodeList
Definition at line 52 of file GlobalTraceManager.h.
Referenced by handleMessage(), and initialize().
|
private |
Definition at line 55 of file GlobalTraceManager.h.
Referenced by readNextBlock().
|
private |
Definition at line 60 of file GlobalTraceManager.h.
Referenced by GlobalTraceManager(), handleMessage(), initialize(), readNextBlock(), and ~GlobalTraceManager().
|
private |
Definition at line 55 of file GlobalTraceManager.h.
Referenced by initialize(), and readNextBlock().
|
staticprivate |
Definition at line 57 of file GlobalTraceManager.h.
Referenced by readNextBlock().
|
private |
Definition at line 55 of file GlobalTraceManager.h.
Referenced by initialize(), and readNextBlock().
|
private |
Definition at line 56 of file GlobalTraceManager.h.
Referenced by readNextBlock().
|
protected |
Definition at line 51 of file GlobalTraceManager.h.
Referenced by createNode(), deleteNode(), getAppGateById(), and initialize().