00001
00002 #include <stdio.h>
00003 #include <stdlib.h>
00004 #include "converse.h"
00005 #include "converseEvents.h"
00006 #include "traceCoreCommon.h"
00007 #include "converseProjections.h"
00008
00009 extern "C" void converse_msgSent(int destPE, int size)
00010 {
00011 int iData[2];
00012 iData[0] = destPE;
00013 iData[1] = size;
00014 LogEvent1(_CONVERSE_LANG_ID, _E_MSG_SENT, 2, iData);
00015 }
00016
00017
00018 extern "C" void converse_msgQueued();
00019
00020 extern "C" void converse_msgRecvMC();
00021
00022 extern "C" void converse_msgRecvSC();
00023
00024 extern "C" void converse_handlerBegin(int handlerIdx)
00025 {
00026 int iData[2];
00027 iData[0] = handlerIdx;
00028 iData[1] = CmiMyPe();
00029 LogEvent1(_CONVERSE_LANG_ID, _E_HANDLER_BEGIN, 2, iData);
00030 }
00031
00032 extern "C" void converse_handlerEnd(int handlerIdx)
00033 {
00034 int iData[2];
00035 iData[0] = handlerIdx;
00036 iData[1] = CmiMyPe();
00037 LogEvent1(_CONVERSE_LANG_ID, _E_HANDLER_END, 2, iData);
00038 }
00039