
#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) |
| void | userSuppliedData (int d) |
| void | userSuppliedNote (char *note) |
| void | userSuppliedBracketedNote (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, 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 | beginExecute (char *msg) |
| void | beginExecute (CmiObjId *tid) |
| void | beginExecute (int event, int msgType, int ep, int srcPe, int mlen, CmiObjId *idx=NULL) |
| void | endExecute (void) |
| void | endExecute (char *msg) |
| void | changeLastEntryTimestamp (double ts) |
| void | messageRecv (char *env, int pe) |
| 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) |
| void | traceClearEps () |
| void | traceEnableCCS () |
| void | traceWriteSts () |
| void | traceClose () |
| void | traceFlushLog () |
| void | beginIdle (double curWallTime) |
| void | endIdle (double curWallTime) |
| void | traceBegin () |
| void | traceEnd () |
| 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 | regFunc (const char *name, int &idx, int idxSpecifiedByUser=0) |
| void | beginFunc (char *name, char *file, int line) |
| void | beginFunc (int idx, char *file, int line) |
| void | endFunc (char *name) |
| void | endFunc (int idx) |
| 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 177 of file trace.h.
| void TraceArray::addTrace | ( | Trace * | tr | ) | [inline] |
| void TraceArray::setTraceOnPE | ( | int | flag | ) | [inline] |
| void TraceArray::removeTrace | ( | Trace * | tr | ) | [inline] |
| void TraceArray::clearTrace | ( | ) | [inline] |
Definition at line 195 of file trace.h.
References CkVec< T >::length(), n, CkVec< T >::remove(), and traces.
Referenced by traceClose().
| int TraceArray::length | ( | void | ) | const [inline] |
Definition at line 203 of file trace.h.
References n.
Referenced by setTraceOnPE(), traceCommonInit(), and traceRegisterUserEvent().
Referenced by creation(), and traceCommonInit().
| void TraceArray::creation | ( | char * | msg | ) | [inline] |
Referenced by traceCommonInit().
| void TraceArray::endSDAGBlock | ( | void | ) | [inline] |
| void TraceArray::beginExecute | ( | envelope * | env | ) | [inline] |
| void TraceArray::beginExecute | ( | char * | msg | ) | [inline] |
| void TraceArray::beginExecute | ( | CmiObjId * | tid | ) | [inline] |
| void TraceArray::endExecute | ( | void | ) | [inline] |
Definition at line 234 of file trace.h.
Referenced by endExecute(), endSDAGBlock(), and traceCommonInit().
| void TraceArray::endExecute | ( | char * | msg | ) | [inline] |
| void TraceArray::changeLastEntryTimestamp | ( | double | ts | ) | [inline] |
| void TraceArray::messageRecv | ( | char * | env, | |
| int | pe | |||
| ) | [inline] |
Definition at line 246 of file trace.h.
References length(), and traces.
Referenced by traceCommonInit().
| void TraceArray::traceClearEps | ( | void | ) | [inline] |
| void TraceArray::traceEnableCCS | ( | ) | [inline] |
| void TraceArray::traceWriteSts | ( | void | ) | [inline] |
| void TraceArray::traceClose | ( | void | ) | [inline] |
| void TraceArray::traceFlushLog | ( | ) | [inline] |
| void TraceArray::beginIdle | ( | double | curWallTime | ) | [inline] |
| void TraceArray::endIdle | ( | double | curWallTime | ) | [inline] |
| void TraceArray::traceBegin | ( | ) |
Referenced by traceCommonInit().
| void TraceArray::traceEnd | ( | ) |
Referenced by traceCommonInit().
| void TraceArray::traceBeginOnCommThread | ( | ) |
Referenced by traceCommonInit().
| void TraceArray::traceEndOnCommThread | ( | ) |
Referenced by traceCommonInit().
| void TraceArray::traceCommSetMsgID | ( | char * | msg | ) | [inline] |
| void TraceArray::beginFunc | ( | char * | name, | |
| char * | file, | |||
| int | line | |||
| ) | [inline] |
| void TraceArray::endFunc | ( | char * | name | ) | [inline] |
| void TraceArray::endFunc | ( | int | idx | ) | [inline] |
| void TraceArray::endPhase | ( | ) | [inline] |
CkVec<Trace *> TraceArray::traces [private] |
Definition at line 179 of file trace.h.
Referenced by addTrace(), clearTrace(), removeTrace(), setTraceOnPE(), and traceRegisterUserEvent().
int TraceArray::n [private] |
Definition at line 180 of file trace.h.
Referenced by addTrace(), clearTrace(), length(), removeTrace(), and traceCommonInit().
int TraceArray::cancel_beginIdle [private] |
int TraceArray::cancel_endIdle [private] |
1.5.5