PPL Logo

TraceArray Class Reference
[Charm++ Trace Module]

Array of Traces modules, every event raised will go through every Trace module. More...

#include <trace.h>

Collaboration diagram for TraceArray:

Collaboration graph
[legend]

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

Detailed Description

Array of Traces modules, every event raised will go through every Trace module.

Definition at line 225 of file trace.h.


Constructor & Destructor Documentation

TraceArray::TraceArray (  )  [inline]

Definition at line 231 of file trace.h.


Member Function Documentation

void TraceArray::addTrace ( Trace tr  )  [inline]

Definition at line 232 of file trace.h.

References n, CkVec< T >::push_back(), and traces.

Here is the call graph for this function:

void TraceArray::setTraceOnPE ( int  flag  )  [inline]

Definition at line 233 of file trace.h.

References length(), and traces.

Here is the call graph for this function:

void TraceArray::removeTrace ( Trace tr  )  [inline]

Definition at line 237 of file trace.h.

References n, and traces.

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().

Here is the call graph for this function:

Here is the caller graph for this function:

int TraceArray::length (  )  const [inline]

Definition at line 251 of file trace.h.

References n.

Referenced by setTraceOnPE(), traceCommonInit(), traceRegisterUserEvent(), and traceRegisterUserStat().

Here is the caller graph for this function:

void TraceArray::userEvent ( int  e  )  [inline]

Definition at line 253 of file trace.h.

void TraceArray::userBracketEvent ( int  e,
double  bt,
double  et,
int  nestedID = 0 
) [inline]

Definition at line 254 of file trace.h.

void TraceArray::beginUserBracketEvent ( int  e,
int  nestedID = 0 
) [inline]

Definition at line 255 of file trace.h.

void TraceArray::endUserBracketEvent ( int  e,
int  nestedID = 0 
) [inline]

Definition at line 256 of file trace.h.

void TraceArray::beginAppWork (  )  [inline]

Definition at line 258 of file trace.h.

Referenced by traceCommonInit().

Here is the caller graph for this function:

void TraceArray::endAppWork (  )  [inline]

Definition at line 259 of file trace.h.

Referenced by traceCommonInit().

Here is the caller graph for this function:

void TraceArray::countNewChare (  )  [inline]

Definition at line 260 of file trace.h.

Referenced by traceCommonInit().

Here is the caller graph for this function:

void TraceArray::beginTuneOverhead (  )  [inline]

Definition at line 261 of file trace.h.

Referenced by traceCommonInit().

Here is the caller graph for this function:

void TraceArray::endTuneOverhead (  )  [inline]

Definition at line 262 of file trace.h.

Referenced by traceCommonInit().

Here is the caller graph for this function:

void TraceArray::userSuppliedData ( int  d  )  [inline]

Definition at line 264 of file trace.h.

void TraceArray::userSuppliedNote ( const char *  note  )  [inline]

Definition at line 266 of file trace.h.

void TraceArray::userSuppliedBracketedNote ( const char *  note,
int  eventID,
double  bt,
double  et 
) [inline]

Definition at line 267 of file trace.h.

void TraceArray::memoryUsage ( double  memUsage  )  [inline]

Definition at line 270 of file trace.h.

void TraceArray::creation ( envelope env,
int  ep,
int  num = 1 
)

Referenced by creation(), and traceCommonInit().

Here is the caller graph for this function:

void TraceArray::creation ( char *  msg  )  [inline]

Definition at line 275 of file trace.h.

References creation().

Here is the call graph for this function:

void TraceArray::creationMulticast ( envelope env,
int  ep,
int  num = 1,
const int pelist = NULL 
)

Referenced by traceCommonInit().

Here is the caller graph for this function:

void TraceArray::creationDone ( int  num = 1  )  [inline]

Definition at line 283 of file trace.h.

void TraceArray::beginSDAGBlock ( int  event,
int  msgType,
int  ep,
int  srcPe,
int  mlen,
CmiObjId idx = NULL 
) [inline]

Definition at line 284 of file trace.h.

References idx.

void TraceArray::endSDAGBlock ( void   )  [inline]

Definition at line 285 of file trace.h.

References endExecute().

Here is the call graph for this function:

void TraceArray::beginExecute ( envelope env,
void *  obj 
) [inline]

Definition at line 286 of file trace.h.

Referenced by beginExecute().

Here is the caller graph for this function:

void TraceArray::beginExecute ( char *  msg  )  [inline]

Definition at line 287 of file trace.h.

References beginExecute().

Here is the call graph for this function:

void TraceArray::beginExecute ( CmiObjId tid  )  [inline]

Definition at line 288 of file trace.h.

References beginExecute().

Here is the call graph for this function:

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.

Here is the call graph for this function:

void TraceArray::endExecute ( void   )  [inline]

Definition at line 290 of file trace.h.

Referenced by endExecute(), endSDAGBlock(), and traceCommonInit().

Here is the caller graph for this function:

void TraceArray::endExecute ( char *  msg  )  [inline]

Definition at line 291 of file trace.h.

References endExecute().

Here is the call graph for this function:

void TraceArray::changeLastEntryTimestamp ( double  ts  )  [inline]

Definition at line 292 of file trace.h.

void TraceArray::messageRecv ( void *  env,
int  size 
) [inline]

Definition at line 293 of file trace.h.

void TraceArray::messageSend ( void *  env,
int  pe,
int  size 
) [inline]

Definition at line 294 of file trace.h.

void TraceArray::beginPack ( void   )  [inline]

Definition at line 295 of file trace.h.

void TraceArray::endPack ( void   )  [inline]

Definition at line 296 of file trace.h.

void TraceArray::beginUnpack ( void   )  [inline]

Definition at line 297 of file trace.h.

void TraceArray::endUnpack ( void   )  [inline]

Definition at line 298 of file trace.h.

void TraceArray::enqueue ( envelope e  )  [inline]

Definition at line 299 of file trace.h.

void TraceArray::dequeue ( envelope e  )  [inline]

Definition at line 300 of file trace.h.

void TraceArray::beginComputation ( void   )  [inline]

Definition at line 301 of file trace.h.

void TraceArray::endComputation ( void   )  [inline]

Definition at line 302 of file trace.h.

int TraceArray::traceRegisterUserEvent ( const char *  x,
int  evt 
) [inline]

Definition at line 303 of file trace.h.

References length(), and traces.

Referenced by traceCommonInit().

Here is the call graph for this function:

Here is the caller graph for this function:

int TraceArray::traceRegisterUserStat ( const char *  x,
int  evt 
) [inline]

Definition at line 316 of file trace.h.

References length(), and traces.

Referenced by traceCommonInit().

Here is the call graph for this function:

Here is the caller graph for this function:

void TraceArray::updateStatPair ( int  e,
double  stat,
double  time 
) [inline]

Definition at line 327 of file trace.h.

Referenced by traceCommonInit().

Here is the caller graph for this function:

void TraceArray::updateStat ( int  e,
double  stat 
) [inline]

Definition at line 328 of file trace.h.

Referenced by traceCommonInit().

Here is the caller graph for this function:

void TraceArray::traceClearEps ( void   )  [inline]

Definition at line 330 of file trace.h.

Referenced by traceCommonInit().

Here is the caller graph for this function:

void TraceArray::traceEnableCCS (  )  [inline]

Definition at line 331 of file trace.h.

Referenced by traceCommonInit().

Here is the caller graph for this function:

void TraceArray::traceWriteSts ( void   )  [inline]

Definition at line 332 of file trace.h.

Referenced by traceCommonInit().

Here is the caller graph for this function:

void TraceArray::traceClose ( void   )  [inline]

Definition at line 333 of file trace.h.

References clearTrace().

Referenced by traceCommonInit().

Here is the call graph for this function:

Here is the caller graph for this function:

void TraceArray::traceFlushLog (  )  [inline]

Definition at line 334 of file trace.h.

Referenced by traceCommonInit().

Here is the caller graph for this function:

void TraceArray::beginIdle ( double  curWallTime  )  [inline]

Definition at line 337 of file trace.h.

Referenced by traceCommonInit().

Here is the caller graph for this function:

void TraceArray::endIdle ( double  curWallTime  )  [inline]

Definition at line 338 of file trace.h.

Referenced by traceCommonInit().

Here is the caller graph for this function:

void TraceArray::traceBegin (  ) 

Referenced by traceCommonInit().

Here is the caller graph for this function:

void TraceArray::traceEnd (  ) 

Referenced by traceCommonInit().

Here is the caller graph for this function:

void TraceArray::traceBeginComm (  ) 

Referenced by traceCommonInit().

Here is the caller graph for this function:

void TraceArray::traceEndComm (  ) 

Referenced by traceCommonInit().

Here is the caller graph for this function:

void TraceArray::traceBeginOnCommThread (  ) 

Referenced by traceCommonInit().

Here is the caller graph for this function:

void TraceArray::traceEndOnCommThread (  ) 

Referenced by traceCommonInit().

Here is the caller graph for this function:

void TraceArray::traceCommSetMsgID ( char *  msg  )  [inline]

Definition at line 347 of file trace.h.

Referenced by traceCommonInit().

Here is the caller graph for this function:

void TraceArray::traceGetMsgID ( char *  msg,
int pe,
int event 
) [inline]

Definition at line 348 of file trace.h.

Referenced by traceCommonInit().

Here is the caller graph for this function:

void TraceArray::traceSetMsgID ( char *  msg,
int  pe,
int  event 
) [inline]

Definition at line 349 of file trace.h.

Referenced by traceCommonInit().

Here is the caller graph for this function:

void TraceArray::endPhase (  )  [inline]

Definition at line 352 of file trace.h.

Referenced by traceCommonInit().

Here is the caller graph for this function:

void TraceArray::malloc ( void *  where,
int  size,
void **  stack,
int  stackSize 
) [inline]

Definition at line 355 of file trace.h.

Referenced by traceCommonInit().

Here is the caller graph for this function:

void TraceArray::free ( void *  where,
int  size 
) [inline]

Definition at line 356 of file trace.h.

void TraceArray::traceAddThreadListeners ( CthThread  tid,
envelope e 
) [inline]

Definition at line 359 of file trace.h.

Referenced by traceCommonInit().

Here is the caller graph for this function:


Field Documentation

int TraceArray::n [private]

Definition at line 228 of file trace.h.

Referenced by addTrace(), clearTrace(), length(), removeTrace(), and traceCommonInit().

Definition at line 229 of file trace.h.

Referenced by traceCommonInit().

Definition at line 229 of file trace.h.

Referenced by traceCommonInit().


The documentation for this class was generated from the following file:

Generated on Mon Sep 21 08:31:10 2020 for Charm++ by  doxygen 1.5.5