1 /***********Projector Trace File added by Sayantan ***********/
10 #include "trace-common.h"
12 /// class for recording trace projector events
14 TraceProjector will log Converse/Charm++ events and write into .log files;
15 events descriptions will be written into .sts file.
18 extern void _createTraceprojector(char **argv
);
20 class TraceProjector
: public Trace
{
24 TraceProjector(char **argv
);
25 void userEvent(int e
);
26 void userBracketEvent(int e
, double bt
, double et
);
27 void creation(envelope
*e
, int ep
, int num
=1);
28 void beginExecute(envelope
*e
);
29 void beginExecute(char *) {}
30 void beginExecute(CmiObjId
*tid
);
31 void beginExecute(int event
,int msgType
,int ep
,int srcPe
,int ml
,CmiObjId
*idx
=NULL
);
32 void endExecute(void);
33 void messageRecv(char *env
, int pe
);
34 void beginIdle(double curWallTime
);
35 void endIdle(double curWallTime
);
38 void beginUnpack(void);
40 void enqueue(envelope
*e
);
41 void dequeue(envelope
*e
);
42 void beginComputation(void);
43 void endComputation(void);
45 int traceRegisterUserEvent(const char*, int);