useless calls are no longer made when not linked with projector
[charm.git] / src / conv-perf / converseProjections.C
1
2 #include <stdio.h>
3 #include <stdlib.h>
4 #include "converse.h"
5 #include "converseEvents.h"
6 #include "traceCoreCommon.h"
7 #include "converseProjections.h"
8
9 extern "C" void converse_msgSent(int destPE, int size)
10 {
11         int iData[2];
12         iData[0] = destPE;
13         iData[1] = size;
14         LogEvent1(_CONVERSE_LANG_ID, _E_MSG_SENT, 2, iData); 
15 }
16
17 //TODO
18 extern "C" void converse_msgQueued();
19 //TODO
20 extern "C" void converse_msgRecvMC();
21 //TODO
22 extern "C" void converse_msgRecvSC();
23
24 extern "C" void converse_handlerBegin(int handlerIdx)
25 {               
26         int iData[2];
27         iData[0] = handlerIdx;
28         iData[1] = CmiMyPe();
29         LogEvent1(_CONVERSE_LANG_ID, _E_HANDLER_BEGIN, 2, iData); 
30 }
31
32 extern "C" void converse_handlerEnd(int handlerIdx)
33 {       
34         int iData[2];
35         iData[0] = handlerIdx;
36         iData[1] = CmiMyPe();
37         LogEvent1(_CONVERSE_LANG_ID, _E_HANDLER_END, 2, iData); 
38 }
39