00001 #include <stdio.h> 00002 #include <stdlib.h> 00003 #include "converse.h" 00004 #include "machineEvents.h" 00005 #include "traceCoreCommon.h" 00006 #include "machineProjections.h" 00007 00008 00009 extern "C" void machine_procIdle() 00010 { 00011 int iData[1]; 00012 iData[0] = CmiMyPe(); 00013 LogEvent1(_MACHINE_LANG_ID, _E_PROC_IDLE, 1, iData); 00014 } 00015 00016 extern "C" void machine_procBusy() 00017 { 00018 int iData[1]; 00019 iData[0] = CmiMyPe(); 00020 LogEvent1(_MACHINE_LANG_ID, _E_PROC_BUSY, 1, iData); 00021 } 00022