#include <trace.h>
Public Member Functions | |
TraceArray () | |
void | addTrace (Trace *tr) |
void | setTraceOnPE (int flag) |
void | removeTrace (Trace *tr) |
void | clearTrace () |
int | length () const |
void | userEvent (int e) |
void | userBracketEvent (int e, double bt, double et, int nestedID=0) |
void | beginUserBracketEvent (int e, int nestedID=0) |
void | endUserBracketEvent (int e, int nestedID=0) |
void | beginAppWork () |
void | endAppWork () |
void | countNewChare () |
void | beginTuneOverhead () |
void | endTuneOverhead () |
void | userSuppliedData (int d) |
void | userSuppliedNote (const char *note) |
void | userSuppliedBracketedNote (const char *note, int eventID, double bt, double et) |
void | memoryUsage (double memUsage) |
void | creation (envelope *env, int ep, int num=1) |
void | creation (char *msg) |
void | creationMulticast (envelope *env, int ep, int num=1, const int *pelist=NULL) |
void | creationDone (int num=1) |
void | beginSDAGBlock (int event, int msgType, int ep, int srcPe, int mlen, CmiObjId *idx=NULL) |
void | endSDAGBlock (void) |
void | beginExecute (envelope *env, void *obj) |
void | beginExecute (char *msg) |
void | beginExecute (CmiObjId *tid) |
void | beginExecute (int event, int msgType, int ep, int srcPe, int mlen, CmiObjId *idx=NULL, void *obj=NULL) |
void | endExecute (void) |
void | endExecute (char *msg) |
void | changeLastEntryTimestamp (double ts) |
void | messageRecv (void *env, int size) |
void | messageSend (void *env, int pe, int size) |
void | beginPack (void) |
void | endPack (void) |
void | beginUnpack (void) |
void | endUnpack (void) |
void | enqueue (envelope *e) |
void | dequeue (envelope *e) |
void | beginComputation (void) |
void | endComputation (void) |
int | traceRegisterUserEvent (const char *x, int evt) |
int | traceRegisterUserStat (const char *x, int evt) |
void | updateStatPair (int e, double stat, double time) |
void | updateStat (int e, double stat) |
void | traceClearEps () |
void | traceEnableCCS () |
void | traceWriteSts () |
void | traceClose () |
void | traceFlushLog () |
void | beginIdle (double curWallTime) |
void | endIdle (double curWallTime) |
void | traceBegin () |
void | traceEnd () |
void | traceBeginComm () |
void | traceEndComm () |
void | traceBeginOnCommThread () |
void | traceEndOnCommThread () |
void | traceCommSetMsgID (char *msg) |
void | traceGetMsgID (char *msg, int *pe, int *event) |
void | traceSetMsgID (char *msg, int pe, int event) |
void | endPhase () |
void | malloc (void *where, int size, void **stack, int stackSize) |
void | free (void *where, int size) |
void | traceAddThreadListeners (CthThread tid, envelope *e) |
Private Attributes | |
CkVec< Trace * > | traces |
int | n |
int | cancel_beginIdle |
int | cancel_endIdle |
Definition at line 225 of file trace.h.
void TraceArray::addTrace | ( | Trace * | tr | ) | [inline] |
Definition at line 232 of file trace.h.
References n, CkVec< T >::push_back(), and traces.
void TraceArray::setTraceOnPE | ( | int | flag | ) | [inline] |
void TraceArray::removeTrace | ( | Trace * | tr | ) | [inline] |
void TraceArray::clearTrace | ( | ) | [inline] |
Definition at line 243 of file trace.h.
References len, CkVec< T >::length(), n, CkVec< T >::remove(), and traces.
Referenced by traceClose().
int TraceArray::length | ( | ) | const [inline] |
Definition at line 251 of file trace.h.
References n.
Referenced by setTraceOnPE(), traceCommonInit(), traceRegisterUserEvent(), and traceRegisterUserStat().
void TraceArray::beginAppWork | ( | ) | [inline] |
Definition at line 258 of file trace.h.
Referenced by traceCommonInit().
void TraceArray::endAppWork | ( | ) | [inline] |
Definition at line 259 of file trace.h.
Referenced by traceCommonInit().
void TraceArray::countNewChare | ( | ) | [inline] |
Definition at line 260 of file trace.h.
Referenced by traceCommonInit().
void TraceArray::beginTuneOverhead | ( | ) | [inline] |
Definition at line 261 of file trace.h.
Referenced by traceCommonInit().
void TraceArray::endTuneOverhead | ( | ) | [inline] |
Definition at line 262 of file trace.h.
Referenced by traceCommonInit().
void TraceArray::userSuppliedNote | ( | const char * | note | ) | [inline] |
void TraceArray::userSuppliedBracketedNote | ( | const char * | note, | |
int | eventID, | |||
double | bt, | |||
double | et | |||
) | [inline] |
void TraceArray::creation | ( | char * | msg | ) | [inline] |
Definition at line 275 of file trace.h.
References creation().
void TraceArray::endSDAGBlock | ( | void | ) | [inline] |
Definition at line 285 of file trace.h.
References endExecute().
void TraceArray::beginExecute | ( | envelope * | env, | |
void * | obj | |||
) | [inline] |
Definition at line 286 of file trace.h.
Referenced by beginExecute().
void TraceArray::beginExecute | ( | char * | msg | ) | [inline] |
Definition at line 287 of file trace.h.
References beginExecute().
void TraceArray::beginExecute | ( | CmiObjId * | tid | ) | [inline] |
Definition at line 288 of file trace.h.
References beginExecute().
void TraceArray::beginExecute | ( | int | event, | |
int | msgType, | |||
int | ep, | |||
int | srcPe, | |||
int | mlen, | |||
CmiObjId * | idx = NULL , |
|||
void * | obj = NULL | |||
) | [inline] |
Definition at line 289 of file trace.h.
References beginExecute(), and idx.
void TraceArray::endExecute | ( | void | ) | [inline] |
Definition at line 290 of file trace.h.
Referenced by endExecute(), endSDAGBlock(), and traceCommonInit().
void TraceArray::endExecute | ( | char * | msg | ) | [inline] |
Definition at line 291 of file trace.h.
References endExecute().
void TraceArray::changeLastEntryTimestamp | ( | double | ts | ) | [inline] |
void TraceArray::messageRecv | ( | void * | env, | |
int | size | |||
) | [inline] |
Definition at line 303 of file trace.h.
References length(), and traces.
Referenced by traceCommonInit().
Definition at line 316 of file trace.h.
References length(), and traces.
Referenced by traceCommonInit().
void TraceArray::updateStatPair | ( | int | e, | |
double | stat, | |||
double | time | |||
) | [inline] |
Definition at line 327 of file trace.h.
Referenced by traceCommonInit().
void TraceArray::updateStat | ( | int | e, | |
double | stat | |||
) | [inline] |
Definition at line 328 of file trace.h.
Referenced by traceCommonInit().
void TraceArray::traceClearEps | ( | void | ) | [inline] |
Definition at line 330 of file trace.h.
Referenced by traceCommonInit().
void TraceArray::traceEnableCCS | ( | ) | [inline] |
Definition at line 331 of file trace.h.
Referenced by traceCommonInit().
void TraceArray::traceWriteSts | ( | void | ) | [inline] |
Definition at line 332 of file trace.h.
Referenced by traceCommonInit().
void TraceArray::traceClose | ( | void | ) | [inline] |
Definition at line 333 of file trace.h.
References clearTrace().
Referenced by traceCommonInit().
void TraceArray::traceFlushLog | ( | ) | [inline] |
Definition at line 334 of file trace.h.
Referenced by traceCommonInit().
void TraceArray::beginIdle | ( | double | curWallTime | ) | [inline] |
Definition at line 337 of file trace.h.
Referenced by traceCommonInit().
void TraceArray::endIdle | ( | double | curWallTime | ) | [inline] |
Definition at line 338 of file trace.h.
Referenced by traceCommonInit().
void TraceArray::traceBegin | ( | ) |
void TraceArray::traceEnd | ( | ) |
void TraceArray::traceBeginComm | ( | ) |
void TraceArray::traceEndComm | ( | ) |
void TraceArray::traceBeginOnCommThread | ( | ) |
void TraceArray::traceEndOnCommThread | ( | ) |
void TraceArray::traceCommSetMsgID | ( | char * | msg | ) | [inline] |
Definition at line 347 of file trace.h.
Referenced by traceCommonInit().
Definition at line 348 of file trace.h.
Referenced by traceCommonInit().
Definition at line 349 of file trace.h.
Referenced by traceCommonInit().
void TraceArray::endPhase | ( | ) | [inline] |
Definition at line 352 of file trace.h.
Referenced by traceCommonInit().
Definition at line 355 of file trace.h.
Referenced by traceCommonInit().
Definition at line 359 of file trace.h.
Referenced by traceCommonInit().
CkVec<Trace *> TraceArray::traces [private] |
Definition at line 227 of file trace.h.
Referenced by addTrace(), clearTrace(), removeTrace(), setTraceOnPE(), traceRegisterUserEvent(), and traceRegisterUserStat().
int TraceArray::n [private] |
Definition at line 228 of file trace.h.
Referenced by addTrace(), clearTrace(), length(), removeTrace(), and traceCommonInit().
int TraceArray::cancel_beginIdle [private] |
int TraceArray::cancel_endIdle [private] |