PPL Logo

TraceSimple Class Reference

TraceSimple is a template for an instrumentation module making use of the tracing framework hooks provided in Charm++. More...

#include <trace-simple.h>

Inheritance diagram for TraceSimple:

Inheritance graph
[legend]
Collaboration diagram for TraceSimple:

Collaboration graph
[legend]

Public Member Functions

 TraceSimple (char **argv)
void userEvent (int eventID)
void userBracketEvent (int eventID, double bt, double et)
void creation (envelope *, int epIdx, int num=1)
void creation (char *msg)
void creationMulticast (envelope *, int epIdx, int num=1, const int *pelist=NULL)
void creationDone (int num=1)
void messageRecv (char *env, int pe)
void beginExecute (envelope *, void *)
void beginExecute (char *)
void beginExecute (CmiObjId *tid)
void beginExecute (int event, int msgType, int ep, int srcPe, int ml, CmiObjId *idx, void *obj)
void endExecute (void)
void beginIdle (double curWallTime)
void endIdle (double curWallTime)
void beginComputation (void)
void endComputation (void)
void malloc (void *where, int size, void **stack, int stackSize)
void free (void *where, int size)
void traceClose ()

Data Fields

int par0
double par1

Detailed Description

TraceSimple is a template for an instrumentation module making use of the tracing framework hooks provided in Charm++.

Only the more common hooks are listened to in this module.

Definition at line 18 of file trace-simple.h.


Constructor & Destructor Documentation

TraceSimple::TraceSimple ( char **  argv  ) 

Definition at line 23 of file trace-simple.C.

References CmiGetArgDoubleDesc(), CmiGetArgIntDesc(), par0, and par1.

Here is the call graph for this function:


Member Function Documentation

void TraceSimple::userEvent ( int  eventID  )  [virtual]

Reimplemented from Trace.

Definition at line 32 of file trace-simple.C.

References Converse::CkMyPe().

Here is the call graph for this function:

void TraceSimple::userBracketEvent ( int  eventID,
double  bt,
double  et 
)

Definition at line 37 of file trace-simple.C.

References Converse::CkMyPe().

Here is the call graph for this function:

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

Reimplemented from Trace.

Definition at line 41 of file trace-simple.C.

References Converse::CkMyPe().

Here is the call graph for this function:

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

Reimplemented from Trace.

Definition at line 32 of file trace-simple.h.

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

Reimplemented from Trace.

Definition at line 46 of file trace-simple.C.

References Converse::CkMyPe().

Here is the call graph for this function:

void TraceSimple::creationDone ( int  num = 1  )  [virtual]

Reimplemented from Trace.

Definition at line 52 of file trace-simple.C.

References Converse::CkMyPe().

Here is the call graph for this function:

void TraceSimple::messageRecv ( char *  env,
int  pe 
)

Definition at line 56 of file trace-simple.C.

References Converse::CkMyPe().

Here is the call graph for this function:

void TraceSimple::beginExecute ( envelope e,
void *  obj 
) [virtual]

Reimplemented from Trace.

Definition at line 69 of file trace-simple.C.

References _threadEP, Converse::CkMyPe(), and envelope::getEpIdx().

Here is the call graph for this function:

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

Reimplemented from Trace.

Definition at line 43 of file trace-simple.h.

void TraceSimple::beginExecute ( CmiObjId tid  )  [virtual]

Reimplemented from Trace.

Definition at line 61 of file trace-simple.C.

References Converse::CkMyPe().

Here is the call graph for this function:

void TraceSimple::beginExecute ( int  event,
int  msgType,
int  ep,
int  srcPe,
int  ml,
CmiObjId idx,
void *  obj 
) [virtual]

Reimplemented from Trace.

Definition at line 85 of file trace-simple.C.

References Converse::CkMyPe().

Here is the call graph for this function:

void TraceSimple::endExecute ( void   )  [virtual]

Reimplemented from Trace.

Definition at line 92 of file trace-simple.C.

References Converse::CkMyPe().

Here is the call graph for this function:

void TraceSimple::beginIdle ( double  curWallTime  )  [virtual]

Reimplemented from Trace.

Definition at line 97 of file trace-simple.C.

References Converse::CkMyPe().

Here is the call graph for this function:

void TraceSimple::endIdle ( double  curWallTime  )  [virtual]

Reimplemented from Trace.

Definition at line 101 of file trace-simple.C.

References Converse::CkMyPe().

Here is the call graph for this function:

void TraceSimple::beginComputation ( void   )  [virtual]

Reimplemented from Trace.

Definition at line 105 of file trace-simple.C.

References Converse::CkMyPe().

Here is the call graph for this function:

void TraceSimple::endComputation ( void   )  [virtual]

Reimplemented from Trace.

Definition at line 113 of file trace-simple.C.

References Converse::CkMyPe().

Here is the call graph for this function:

void TraceSimple::malloc ( void *  where,
int  size,
void **  stack,
int  stackSize 
) [virtual]

Reimplemented from Trace.

Definition at line 118 of file trace-simple.C.

References Converse::CkMyPe().

Here is the call graph for this function:

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

Reimplemented from Trace.

Definition at line 123 of file trace-simple.C.

References Converse::CkMyPe().

Here is the call graph for this function:

void TraceSimple::traceClose ( void   )  [virtual]

Reimplemented from Trace.

Definition at line 127 of file trace-simple.C.


Field Documentation

Definition at line 20 of file trace-simple.h.

Referenced by TraceSimple().

Definition at line 21 of file trace-simple.h.

Referenced by TraceSimple().


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

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