#include <trace.h>
Public Member Functions | |
Trace () | |
virtual void | setTraceOnPE (int flag) |
virtual int | traceOnPE () |
virtual void | traceBegin () |
virtual void | traceEnd () |
virtual void | traceBeginComm () |
virtual void | traceEndComm () |
virtual void | traceBeginOnCommThread () |
virtual void | traceEndOnCommThread () |
virtual void | traceCommSetMsgID (char *) |
virtual void | traceGetMsgID (char *msg, int *pe, int *event) |
virtual void | traceSetMsgID (char *msg, int pe, int event) |
virtual int | traceRegisterUserEvent (const char *eventName, int e) |
virtual void | userEvent (int eventID) |
virtual void | userBracketEvent (int eventID, double bt, double et, int nestedID=0) |
virtual void | beginUserBracketEvent (int eventID, int nestedID=0) |
virtual void | endUserBracketEvent (int eventID, int nestedID=0) |
virtual int | traceRegisterUserStat (const char *evt, int e) |
virtual void | updateStatPair (int e, double stat, double time) |
virtual void | updateStat (int e, double stat) |
virtual void | beginAppWork () |
virtual void | endAppWork () |
virtual void | countNewChare () |
virtual void | beginTuneOverhead () |
virtual void | endTuneOverhead () |
virtual void | userSuppliedData (int e) |
virtual void | userSuppliedNote (const char *note) |
virtual void | userSuppliedBracketedNote (const char *note, int eventID, double bt, double et) |
virtual void | memoryUsage (double currentMemUsage) |
virtual void | creation (envelope *, int epIdx, int num=1) |
virtual void | creation (char *) |
virtual void | creationMulticast (envelope *, int epIdx, int num=1, const int *pelist=NULL) |
virtual void | creationDone (int num=1) |
virtual void | messageRecv (void *env, int size) |
virtual void | messageSend (void *env, int pe, int size) |
virtual void | beginSDAGBlock (int event, int msgType, int ep, int srcPe, int ml, CmiObjId *idx) |
virtual void | endSDAGBlock (void) |
virtual void | beginExecute (envelope *, void *) |
virtual void | beginExecute (char *) |
virtual void | beginExecute (CmiObjId *tid) |
virtual void | beginExecute (int event, int msgType, int ep, int srcPe, int ml, CmiObjId *idx, void *obj) |
virtual void | changeLastEntryTimestamp (double ts) |
virtual void | endExecute (void) |
virtual void | endExecute (char *) |
virtual void | beginIdle (double curWallTime) |
virtual void | endIdle (double curWallTime) |
virtual void | beginPack (void) |
virtual void | endPack (void) |
virtual void | beginUnpack (void) |
virtual void | endUnpack (void) |
virtual void | enqueue (envelope *) |
virtual void | dequeue (envelope *) |
virtual void | beginComputation (void) |
virtual void | endComputation (void) |
virtual void | endPhase () |
virtual void | traceClearEps () |
virtual void | traceEnableCCS () |
virtual void | traceWriteSts () |
virtual void | traceClose () |
virtual void | traceFlushLog () |
virtual void | malloc (void *where, int size, void **stack, int stackSize) |
virtual void | free (void *where, int size) |
virtual void | traceAddThreadListeners (CthThread tid, envelope *e) |
virtual | ~Trace () |
Protected Attributes | |
bool | _traceOn |
Definition at line 53 of file trace.h.
virtual void Trace::setTraceOnPE | ( | int | flag | ) | [inline, virtual] |
virtual int Trace::traceOnPE | ( | ) | [inline, virtual] |
virtual void Trace::traceBegin | ( | void | ) | [inline, virtual] |
Reimplemented in TraceControlPoints, TraceCounter, TraceMemory, TraceProjector, TraceSummary, and TraceTau.
virtual void Trace::traceEnd | ( | void | ) | [inline, virtual] |
Reimplemented in TraceControlPoints, TraceCounter, TraceProjector, TraceSummary, and TraceTau.
virtual void Trace::traceBeginOnCommThread | ( | ) | [inline, virtual] |
virtual void Trace::traceEndOnCommThread | ( | ) | [inline, virtual] |
virtual void Trace::traceCommSetMsgID | ( | char * | ) | [inline, virtual] |
virtual void Trace::userEvent | ( | int | eventID | ) | [inline, virtual] |
Reimplemented in TraceControlPoints, TraceCounter, TraceProjector, TraceSimple, and TraceTau.
virtual void Trace::updateStatPair | ( | int | e, | |
double | stat, | |||
double | time | |||
) | [inline, virtual] |
virtual void Trace::updateStat | ( | int | e, | |
double | stat | |||
) | [inline, virtual] |
virtual void Trace::userSuppliedData | ( | int | e | ) | [inline, virtual] |
virtual void Trace::userSuppliedNote | ( | const char * | note | ) | [inline, virtual] |
virtual void Trace::userSuppliedBracketedNote | ( | const char * | note, | |
int | eventID, | |||
double | bt, | |||
double | et | |||
) | [inline, virtual] |
virtual void Trace::memoryUsage | ( | double | currentMemUsage | ) | [inline, virtual] |
Reimplemented in TraceControlPoints, TraceCounter, TraceProjector, TraceSimple, TraceSummary, TraceTau, and TraceUtilization.
virtual void Trace::creation | ( | char * | ) | [inline, virtual] |
virtual void Trace::creationMulticast | ( | envelope * | , | |
int | epIdx, | |||
int | num = 1 , |
|||
const int * | pelist = NULL | |||
) | [inline, virtual] |
Reimplemented in TraceControlPoints, TraceSimple, and TraceTau.
virtual void Trace::creationDone | ( | int | num = 1 |
) | [inline, virtual] |
Reimplemented in TraceControlPoints, TraceSimple, and TraceTau.
virtual void Trace::messageRecv | ( | void * | env, | |
int | size | |||
) | [inline, virtual] |
virtual void Trace::beginExecute | ( | envelope * | , | |
void * | ||||
) | [inline, virtual] |
Reimplemented in TraceBluegene, TraceSimple, TraceSummary, and TraceUtilization.
virtual void Trace::beginExecute | ( | char * | ) | [inline, virtual] |
Reimplemented in TraceBluegene, TraceProjector, TraceSimple, and TraceSummary.
virtual void Trace::beginExecute | ( | CmiObjId * | tid | ) | [inline, virtual] |
Reimplemented in TraceBluegene, TraceControlPoints, TraceProjector, TraceSimple, TraceSummary, TraceTau, and TraceUtilization.
virtual void Trace::beginExecute | ( | int | event, | |
int | msgType, | |||
int | ep, | |||
int | srcPe, | |||
int | ml, | |||
CmiObjId * | idx, | |||
void * | obj | |||
) | [inline, virtual] |
Reimplemented in TraceBluegene, TraceSimple, TraceSummary, and TraceUtilization.
virtual void Trace::changeLastEntryTimestamp | ( | double | ts | ) | [inline, virtual] |
virtual void Trace::endExecute | ( | void | ) | [inline, virtual] |
Reimplemented in TraceControlPoints, TraceCounter, TraceProjector, TraceSimple, TraceSummary, TraceTau, and TraceUtilization.
virtual void Trace::endExecute | ( | char * | ) | [inline, virtual] |
virtual void Trace::beginIdle | ( | double | curWallTime | ) | [inline, virtual] |
Reimplemented in TraceControlPoints, TraceCounter, TraceProjector, TraceSimple, TraceSummary, TraceTau, and TraceUtilization.
virtual void Trace::endIdle | ( | double | curWallTime | ) | [inline, virtual] |
Reimplemented in TraceControlPoints, TraceCounter, TraceProjector, TraceSimple, TraceSummary, TraceTau, and TraceUtilization.
virtual void Trace::beginPack | ( | void | ) | [inline, virtual] |
Reimplemented in TraceCounter, TraceProjector, TraceSummary, and TraceUtilization.
virtual void Trace::endPack | ( | void | ) | [inline, virtual] |
Reimplemented in TraceCounter, TraceProjector, TraceSummary, and TraceUtilization.
virtual void Trace::beginUnpack | ( | void | ) | [inline, virtual] |
Reimplemented in TraceCounter, TraceProjector, TraceSummary, and TraceUtilization.
virtual void Trace::endUnpack | ( | void | ) | [inline, virtual] |
Reimplemented in TraceCounter, TraceProjector, TraceSummary, and TraceUtilization.
virtual void Trace::enqueue | ( | envelope * | ) | [inline, virtual] |
virtual void Trace::dequeue | ( | envelope * | ) | [inline, virtual] |
virtual void Trace::beginComputation | ( | void | ) | [inline, virtual] |
Reimplemented in TraceControlPoints, TraceCounter, TraceProjector, TraceSimple, TraceSummary, TraceTau, and TraceUtilization.
virtual void Trace::endComputation | ( | void | ) | [inline, virtual] |
Reimplemented in TraceControlPoints, TraceCounter, TraceProjector, TraceSimple, TraceSummary, TraceTau, and TraceUtilization.
virtual void Trace::traceClearEps | ( | void | ) | [inline, virtual] |
Reimplemented in TraceCounter, TraceProjector, TraceSummary, and TraceUtilization.
virtual void Trace::traceEnableCCS | ( | ) | [inline, virtual] |
virtual void Trace::traceWriteSts | ( | void | ) | [inline, virtual] |
Reimplemented in TraceCounter, TraceProjector, TraceSummary, and TraceUtilization.
virtual void Trace::traceClose | ( | void | ) | [inline, virtual] |
Reimplemented in TraceBluegene, TraceControlPoints, TraceCounter, TraceMemory, TraceProjector, TraceSimple, TraceSummary, TraceTau, and TraceUtilization.
virtual void Trace::malloc | ( | void * | where, | |
int | size, | |||
void ** | stack, | |||
int | stackSize | |||
) | [inline, virtual] |
Reimplemented in TraceControlPoints, TraceMemory, TraceSimple, and TraceTau.
Definition at line 206 of file trace.h.
Referenced by TraceCounter::traceInit().
virtual void Trace::free | ( | void * | where, | |
int | size | |||
) | [inline, virtual] |
Reimplemented in TraceControlPoints, TraceMemory, TraceSimple, and TraceTau.
bool Trace::_traceOn [protected] |
Definition at line 56 of file trace.h.
Referenced by setTraceOnPE(), TraceBluegene::setTraceOnPE(), and traceOnPE().