PPL Logo

Trace Class Reference
[Charm++ Trace Module]

#include <trace.h>

Inheritance diagram for Trace:

Inheritance graph
[legend]
Collaboration diagram for Trace:

Collaboration graph
[legend]

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

Detailed Description

Definition at line 53 of file trace.h.


Constructor & Destructor Documentation

Trace::Trace (  )  [inline]

Definition at line 59 of file trace.h.

virtual Trace::~Trace (  )  [inline, virtual]

Definition at line 218 of file trace.h.


Member Function Documentation

virtual void Trace::setTraceOnPE ( int  flag  )  [inline, virtual]

Reimplemented in TraceBluegene.

Definition at line 60 of file trace.h.

References _traceOn.

virtual int Trace::traceOnPE (  )  [inline, virtual]

Reimplemented in TraceBluegene.

Definition at line 61 of file trace.h.

References _traceOn.

virtual void Trace::traceBegin ( void   )  [inline, virtual]

Reimplemented in TraceControlPoints, TraceCounter, TraceMemory, TraceProjector, TraceSummary, and TraceTau.

Definition at line 65 of file trace.h.

virtual void Trace::traceEnd ( void   )  [inline, virtual]

Reimplemented in TraceControlPoints, TraceCounter, TraceProjector, TraceSummary, and TraceTau.

Definition at line 66 of file trace.h.

virtual void Trace::traceBeginComm (  )  [inline, virtual]

Definition at line 69 of file trace.h.

virtual void Trace::traceEndComm (  )  [inline, virtual]

Definition at line 70 of file trace.h.

virtual void Trace::traceBeginOnCommThread (  )  [inline, virtual]

Definition at line 71 of file trace.h.

virtual void Trace::traceEndOnCommThread (  )  [inline, virtual]

Definition at line 72 of file trace.h.

virtual void Trace::traceCommSetMsgID ( char *   )  [inline, virtual]

Definition at line 73 of file trace.h.

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

Definition at line 74 of file trace.h.

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

Definition at line 77 of file trace.h.

virtual int Trace::traceRegisterUserEvent ( const char *  eventName,
int  e 
) [inline, virtual]

Reimplemented in TraceProjector.

Definition at line 82 of file trace.h.

virtual void Trace::userEvent ( int  eventID  )  [inline, virtual]

Reimplemented in TraceControlPoints, TraceCounter, TraceProjector, TraceSimple, and TraceTau.

Definition at line 87 of file trace.h.

virtual void Trace::userBracketEvent ( int  eventID,
double  bt,
double  et,
int  nestedID = 0 
) [inline, virtual]

Definition at line 89 of file trace.h.

virtual void Trace::beginUserBracketEvent ( int  eventID,
int  nestedID = 0 
) [inline, virtual]

Definition at line 93 of file trace.h.

virtual void Trace::endUserBracketEvent ( int  eventID,
int  nestedID = 0 
) [inline, virtual]

Definition at line 96 of file trace.h.

virtual int Trace::traceRegisterUserStat ( const char *  evt,
int  e 
) [inline, virtual]

Definition at line 101 of file trace.h.

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

Definition at line 106 of file trace.h.

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

Definition at line 107 of file trace.h.

virtual void Trace::beginAppWork (  )  [inline, virtual]

Definition at line 110 of file trace.h.

virtual void Trace::endAppWork (  )  [inline, virtual]

Definition at line 111 of file trace.h.

virtual void Trace::countNewChare (  )  [inline, virtual]

Definition at line 112 of file trace.h.

virtual void Trace::beginTuneOverhead (  )  [inline, virtual]

Definition at line 113 of file trace.h.

virtual void Trace::endTuneOverhead (  )  [inline, virtual]

Definition at line 114 of file trace.h.

virtual void Trace::userSuppliedData ( int  e  )  [inline, virtual]

Definition at line 117 of file trace.h.

virtual void Trace::userSuppliedNote ( const char *  note  )  [inline, virtual]

Definition at line 120 of file trace.h.

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

Definition at line 122 of file trace.h.

virtual void Trace::memoryUsage ( double  currentMemUsage  )  [inline, virtual]

Definition at line 127 of file trace.h.

virtual void Trace::creation ( envelope ,
int  epIdx,
int  num = 1 
) [inline, virtual]

virtual void Trace::creation ( char *   )  [inline, virtual]

Reimplemented in TraceSimple.

Definition at line 134 of file trace.h.

virtual void Trace::creationMulticast ( envelope ,
int  epIdx,
int  num = 1,
const int pelist = NULL 
) [inline, virtual]

Reimplemented in TraceControlPoints, TraceSimple, and TraceTau.

Definition at line 135 of file trace.h.

virtual void Trace::creationDone ( int  num = 1  )  [inline, virtual]

Reimplemented in TraceControlPoints, TraceSimple, and TraceTau.

Definition at line 139 of file trace.h.

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

Definition at line 141 of file trace.h.

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

Definition at line 142 of file trace.h.

virtual void Trace::beginSDAGBlock ( int  event,
int  msgType,
int  ep,
int  srcPe,
int  ml,
CmiObjId idx 
) [inline, virtual]

Definition at line 143 of file trace.h.

virtual void Trace::endSDAGBlock ( void   )  [inline, virtual]

Definition at line 153 of file trace.h.

virtual void Trace::beginExecute ( envelope ,
void *   
) [inline, virtual]

Reimplemented in TraceBluegene, TraceSimple, TraceSummary, and TraceUtilization.

Definition at line 158 of file trace.h.

virtual void Trace::beginExecute ( char *   )  [inline, virtual]

Reimplemented in TraceBluegene, TraceProjector, TraceSimple, and TraceSummary.

Definition at line 159 of file trace.h.

virtual void Trace::beginExecute ( CmiObjId tid  )  [inline, virtual]

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.

Definition at line 161 of file trace.h.

virtual void Trace::changeLastEntryTimestamp ( double  ts  )  [inline, virtual]

Definition at line 173 of file trace.h.

virtual void Trace::endExecute ( void   )  [inline, virtual]

virtual void Trace::endExecute ( char *   )  [inline, virtual]

Reimplemented in TraceSummary.

Definition at line 175 of file trace.h.

virtual void Trace::beginIdle ( double  curWallTime  )  [inline, virtual]

virtual void Trace::endIdle ( double  curWallTime  )  [inline, virtual]

virtual void Trace::beginPack ( void   )  [inline, virtual]

Reimplemented in TraceCounter, TraceProjector, TraceSummary, and TraceUtilization.

Definition at line 180 of file trace.h.

virtual void Trace::endPack ( void   )  [inline, virtual]

Reimplemented in TraceCounter, TraceProjector, TraceSummary, and TraceUtilization.

Definition at line 181 of file trace.h.

virtual void Trace::beginUnpack ( void   )  [inline, virtual]

Reimplemented in TraceCounter, TraceProjector, TraceSummary, and TraceUtilization.

Definition at line 184 of file trace.h.

virtual void Trace::endUnpack ( void   )  [inline, virtual]

Reimplemented in TraceCounter, TraceProjector, TraceSummary, and TraceUtilization.

Definition at line 185 of file trace.h.

virtual void Trace::enqueue ( envelope  )  [inline, virtual]

Reimplemented in TraceCounter, and TraceProjector.

Definition at line 187 of file trace.h.

virtual void Trace::dequeue ( envelope  )  [inline, virtual]

Reimplemented in TraceCounter, and TraceProjector.

Definition at line 188 of file trace.h.

virtual void Trace::beginComputation ( void   )  [inline, virtual]

virtual void Trace::endComputation ( void   )  [inline, virtual]

virtual void Trace::endPhase (  )  [inline, virtual]

Definition at line 193 of file trace.h.

virtual void Trace::traceClearEps ( void   )  [inline, virtual]

Reimplemented in TraceCounter, TraceProjector, TraceSummary, and TraceUtilization.

Definition at line 195 of file trace.h.

virtual void Trace::traceEnableCCS (  )  [inline, virtual]

Reimplemented in TraceSummary.

Definition at line 197 of file trace.h.

virtual void Trace::traceWriteSts ( void   )  [inline, virtual]

Reimplemented in TraceCounter, TraceProjector, TraceSummary, and TraceUtilization.

Definition at line 199 of file trace.h.

virtual void Trace::traceClose ( void   )  [inline, virtual]

virtual void Trace::traceFlushLog (  )  [inline, virtual]

Definition at line 203 of file trace.h.

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

Here is the caller graph for this function:

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

Reimplemented in TraceControlPoints, TraceMemory, TraceSimple, and TraceTau.

Definition at line 209 of file trace.h.

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

Reimplemented in TraceProjections.

Definition at line 214 of file trace.h.


Field Documentation

bool Trace::_traceOn [protected]

Definition at line 56 of file trace.h.

Referenced by setTraceOnPE(), TraceBluegene::setTraceOnPE(), and traceOnPE().


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

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