TraceProjections Class Reference
[Charm++ Trace Module]

TraceProjections will log Converse/Charm++ events and write into .log files; events descriptions will be written into .sts file. More...

#include <trace-projections.h>

Inheritance diagram for TraceProjections:

Inheritance graph
[legend]
Collaboration diagram for TraceProjections:

Collaboration graph
[legend]

Public Member Functions

 TraceProjections (char **argv)
void userEvent (int e)
void userBracketEvent (int e, double bt, double et)
void userSuppliedData (int e)
void memoryUsage (double m)
void creation (envelope *e, int epIdx, int num=1)
void creationMulticast (envelope *e, int epIdx, int num=1, int *pelist=NULL)
void creationDone (int num=1)
void beginExecute (envelope *e)
void beginExecute (CmiObjId *tid)
void beginExecute (int event, int msgType, int ep, int srcPe, int ml, CmiObjId *idx=NULL)
void endExecute (void)
void messageRecv (char *env, int pe)
void beginIdle (double curWallTime)
void endIdle (double curWallTime)
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 *, int)
void traceClearEps ()
void traceWriteSts ()
void traceClose ()
void traceBegin ()
void traceEnd ()
void traceFlushLog ()
CkHashtableIteratorgetfuncIterator ()
int getFuncNumber ()
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 num)
void closeTrace (void)
virtual void traceAddThreadListeners (CthThread tid, envelope *e)

Data Fields

int converseExit
double endTime

Private Member Functions

int idxRegistered (int idx)

Private Attributes

LogPool_logPool
 logpool for all events
int curevent
int execEvent
int execEp
int execPe
int inEntry
int computationStarted
int funcCount
CkHashtableT< StrKey, intfuncHashtable
CkVec< intidxVec
int papiEventSet
LONG_LONG_PAPIpapiValues

Friends

class TraceProjectionsBOC

Detailed Description

TraceProjections will log Converse/Charm++ events and write into .log files; events descriptions will be written into .sts file.

Definition at line 291 of file trace-projections.h.


Member Function Documentation

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

Reimplemented from Trace.

Definition at line 348 of file trace-projections.h.

References _logPool, and LogPool::flushLogBuffer().

CkHashtableIterator* TraceProjections::getfuncIterator (  )  [inline]

Definition at line 351 of file trace-projections.h.

References funcHashtable, and CkHashtable::iterator().

Referenced by LogPool::writeSts().

int TraceProjections::getFuncNumber (  )  [inline]

Definition at line 352 of file trace-projections.h.

References funcHashtable, and CkHashtable::numObjects().

Referenced by LogPool::writeSts().


Friends And Related Function Documentation

friend class TraceProjectionsBOC [friend]

Definition at line 292 of file trace-projections.h.


Field Documentation

LogPool* TraceProjections::_logPool [private]

logpool for all events

Definition at line 294 of file trace-projections.h.

Referenced by beginComputation(), beginExecute(), beginFunc(), beginIdle(), beginPack(), beginUnpack(), closeTrace(), creation(), creationDone(), creationMulticast(), endComputation(), endExecute(), endFunc(), endIdle(), endPack(), endUnpack(), memoryUsage(), messageRecv(), traceBegin(), traceClose(), traceEnd(), traceFlushLog(), TraceProjections(), traceWriteSts(), userBracketEvent(), userEvent(), and userSuppliedData().

int TraceProjections::curevent [private]

Definition at line 295 of file trace-projections.h.

Referenced by creation(), creationMulticast(), messageRecv(), traceBegin(), traceEnd(), userBracketEvent(), and userEvent().

int TraceProjections::execEvent [private]

Definition at line 296 of file trace-projections.h.

Referenced by beginExecute(), and endExecute().

int TraceProjections::execEp [private]

Definition at line 297 of file trace-projections.h.

Referenced by beginExecute(), and endExecute().

int TraceProjections::execPe [private]

Definition at line 298 of file trace-projections.h.

Referenced by beginExecute(), and endExecute().

int TraceProjections::inEntry [private]

Definition at line 299 of file trace-projections.h.

Referenced by beginExecute(), and endExecute().

int TraceProjections::computationStarted [private]

Definition at line 300 of file trace-projections.h.

Referenced by beginComputation(), memoryUsage(), traceBegin(), userBracketEvent(), userEvent(), and userSuppliedData().

int TraceProjections::funcCount [private]

Definition at line 302 of file trace-projections.h.

Referenced by regFunc(), and TraceProjections().

CkHashtableT<StrKey,int> TraceProjections::funcHashtable [private]

Definition at line 303 of file trace-projections.h.

Referenced by beginFunc(), endFunc(), getfuncIterator(), getFuncNumber(), and regFunc().

CkVec<int> TraceProjections::idxVec [private]

Definition at line 307 of file trace-projections.h.

Referenced by idxRegistered(), and regFunc().

int TraceProjections::papiEventSet [private]

Definition at line 310 of file trace-projections.h.

Referenced by beginComputation(), beginExecute(), endComputation(), endExecute(), and TraceProjections().

LONG_LONG_PAPI* TraceProjections::papiValues [private]

Definition at line 311 of file trace-projections.h.

Referenced by beginExecute(), endComputation(), endExecute(), and TraceProjections().

int TraceProjections::converseExit

Definition at line 315 of file trace-projections.h.

Referenced by traceClose().

double TraceProjections::endTime

Definition at line 316 of file trace-projections.h.

Referenced by endComputation().


The documentation for this class was generated from the following files:
Generated on Sun Jun 29 13:35:43 2008 for Charm++ by  doxygen 1.5.1