PPL Logo

TraceProjections Class Reference
[Charm++ Trace Module]

class for recording trace projections events More...

#include <trace-projections.h>

Inheritance diagram for TraceProjections:

Inheritance graph
[legend]
Collaboration diagram for TraceProjections:

Collaboration graph
[legend]

Data Fields

bool converseExit

Private Member Functions

virtual void traceAddThreadListeners (CthThread tid, envelope *e)

Private Attributes

LogPool_logPool
 logpool for all events
int curevent
int execEvent
int execEp
int execPe
bool inEntry
bool computationStarted
bool traceNestedEvents
int funcCount
int currentPhaseID
std::stack< NestedEvent,
std::vector< NestedEvent >
> nestedEvents;LogEntry
*lastPhaseEvent;CkVec< int >
idxVec;int idxRegistered(int
idx);public:double endTime;TraceProjections(char
**argv);void userEvent(int e);void
userBracketEvent(int e, double
bt, double et, int nestedID);void
beginUserBracketEvent(int e,
int nestedID);void
endUserBracketEvent(int e, int
nestedID);void
userSuppliedBracketedNote(char
*, int, double, double);void
userSuppliedData(int e);void
userSuppliedNote(char *note);void
memoryUsage(double m);int
traceRegisterUserStat(const
char *, int);void
updateStatPair(int e, double
stat, double time);void
updateStat(int e, double stat);void
creation(envelope *e, int
epIdx, int num=1);void
creation(char *m);void
creationMulticast(envelope *e,
int epIdx, int num=1, const
int *pelist=NULL);void
creationDone(int num=1);void
beginExecute(envelope *e, void
*obj=NULL);void beginExecute(char
*msg);void beginExecute(CmiObjId
*tid);void beginExecute(int
event, int msgType, int ep,
int srcPe, int ml, CmiObjId
*idx=NULL, void *obj=NULL);void
changeLastEntryTimestamp(double
ts);void beginExecuteLocal(int
event, int msgType, int ep,
int srcPe, int ml, CmiObjId
*idx=NULL);void endExecute(void);void
endExecute(char *msg);void
endExecuteLocal(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();#if
CMK_SMP_TRACE_COMMTHREAD void
traceBeginOnCommThread();void
traceEndOnCommThread();#endif
void traceCommSetMsgID(char
*msg);void traceGetMsgID(char
*msg, int *pe, int *event);void
traceSetMsgID(char *msg, int
pe, int event);void
traceFlushLog(){_logPool->
flushLogBuffer();}void
endPhase();void closeTrace(void);void
setWriteData(bool b){_logPool
setWriteData )(b)

Friends

class TraceProjectionsBOC
class KMeansBOC

Detailed Description

class for recording trace projections events

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

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


Friends And Related Function Documentation

friend class TraceProjectionsBOC [friend]

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

friend class KMeansBOC [friend]

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


Field Documentation

logpool for all events

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

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

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

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

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

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

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

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

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

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

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

std::stack<NestedEvent, std::vector<NestedEvent>> nestedEvents; LogEntry* lastPhaseEvent; CkVec<int> idxVec; int idxRegistered(int idx); public: double endTime; TraceProjections(char **argv); void userEvent(int e); void userBracketEvent(int e, double bt, double et, int nestedID ); void beginUserBracketEvent(int e, int nestedID ); void endUserBracketEvent(int e, int nestedID ); void userSuppliedBracketedNote(char*, int, double, double); void userSuppliedData(int e); void userSuppliedNote(char* note); void memoryUsage(double m); int traceRegisterUserStat(const char*, int); void updateStatPair(int e, double stat, double time); void updateStat(int e, double stat); void creation(envelope *e, int epIdx, int num=1); void creation(char *m); void creationMulticast(envelope *e, int epIdx, int num=1, const int *pelist=NULL); void creationDone(int num=1); void beginExecute(envelope *e, void *obj=NULL); void beginExecute(char *msg); void beginExecute(CmiObjId *tid); void beginExecute(int event,int msgType,int ep,int srcPe,int ml,CmiObjId *idx=NULL, void *obj=NULL); void changeLastEntryTimestamp(double ts); void beginExecuteLocal(int event,int msgType,int ep,int srcPe,int ml,CmiObjId *idx=NULL); void endExecute(void); void endExecute(char *msg); void endExecuteLocal(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();#if CMK_SMP_TRACE_COMMTHREAD void traceBeginOnCommThread(); void traceEndOnCommThread();#endif void traceCommSetMsgID(char *msg); void traceGetMsgID(char *msg, int *pe, int *event); void traceSetMsgID(char *msg, int pe, int event); void traceFlushLog() { _logPool->flushLogBuffer(); } void endPhase(); void closeTrace(void); void setWriteData(bool b){ _logPool- TraceProjections::setWriteData)(b) [private]


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

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