Replaced // comments (which confuse many C compilers) with /* comments */.
authorOrion Lawlor <olawlor@acm.org>
Mon, 23 Dec 2002 18:32:59 +0000 (18:32 +0000)
committerOrion Lawlor <olawlor@acm.org>
Mon, 23 Dec 2002 18:32:59 +0000 (18:32 +0000)
src/conv-core/convcore.c
src/conv-perf/converseProjections.h
src/conv-perf/traceCoreAPI.h

index f338b24fce40a3fc3cec0da89ec965f669938e54..caf685bad8c0de3e4dc8abc268fc088dd476abe1 100644 (file)
 #include "conv-ccs.h"
 #include "ccs-server.h"
 #include "memory-isomalloc.h"
-#include "converseEvents.h"             // projector
-#include "traceCoreCommon.h"    // projector
-#include "machineEvents.h"     //projector
+#include "converseEvents.h"             /* projector */
+#include "traceCoreCommon.h"    /* projector */
+#include "machineEvents.h"     /* projector */
 
-CpvExtern(int, _traceCoreOn);   // projector
+CpvExtern(int, _traceCoreOn);   /* projector */
 extern void CcdModuleInit(char **);
 extern void CmiMemoryInit(char **);
 extern void CldModuleInit(void);
@@ -850,7 +850,7 @@ void (*handler)();
 void CsdBeginIdle(void)
 {
   CcdCallBacks();
-  _LOG_E_PROC_IDLE();  // projector
+  _LOG_E_PROC_IDLE();  /* projector */
   CcdRaiseCondition(CcdPROCESSOR_BEGIN_IDLE) ;
 }
 
@@ -861,7 +861,7 @@ void CsdStillIdle(void)
 
 void CsdEndIdle(void)
 {
-  _LOG_E_PROC_BUSY();  // projector
+  _LOG_E_PROC_BUSY();  /* projector */
   CcdRaiseCondition(CcdPROCESSOR_BEGIN_BUSY) ;
 }
 
@@ -871,10 +871,10 @@ void CmiHandleMessage(void *msg)
        CpvAccess(cQdState)->mProcessed++;
 */
         CmiHandlerInfo *h;
-       _LOG_E_HANDLER_BEGIN(CmiGetHandler(msg)); // projector
+       _LOG_E_HANDLER_BEGIN(CmiGetHandler(msg)); /* projector */
        h=&CmiGetHandlerInfo(msg);
        (h->hdlr)(msg,h->userPtr);
-       _LOG_E_HANDLER_END(CmiGetHandler(msg));         // projector
+       _LOG_E_HANDLER_END(CmiGetHandler(msg));         /* projector */
 }
 
 #if CMK_CMIDELIVERS_USE_COMMON_CODE
@@ -1090,11 +1090,9 @@ void CthResumeNormalThread(CthThread t)
 #ifndef CMK_OPTIMIZE
   if(CpvAccess(traceOn))
     CthTraceResume(t);
+/*    if(CpvAccess(_traceCoreOn)) 
+               resumeTraceCore();*/
 #endif
-/*#ifndef CMK_OPTIMIZE    // projector
-    if(CpvAccess(_traceCoreOn))
-               resumeTraceCore();
-#endif*/
     
   CthResume(t);
 }
@@ -1836,9 +1834,7 @@ void ConverseCommonInit(char **argv)
   
 #ifndef CMK_OPTIMIZE
   traceInit(argv);
-#endif
-/*#ifndef CMK_OPTIMIZE    // projector
-    initTraceCore(argv);
+/*initTraceCore(argv);*/ /* projector */
 #endif*/
 
 #if CMK_CCS_AVAILABLE
@@ -1867,10 +1863,8 @@ void ConverseCommonExit(void)
 
 #ifndef CMK_OPTIMIZE
   traceClose();
+/*closeTraceCore();*/ /* projector */
 #endif
-/*#ifndef CMK_OPTIMIZE    // projector
-    closeTraceCore();
-#endif*/
 
 }
 
index 09114431e40ed9707f28ec457e8cdbc25a6577b3..5fba54c54224b872f510f48da2ea2351a95c93dd 100644 (file)
@@ -7,9 +7,9 @@ extern "C" {
 #endif
 
 void converse_msgSent(int destPE, int size);
-void converse_msgQueued();             //TODO
-void converse_msgRecvMC();             //TODO
-void converse_msgRecvSC();             //TODO
+void converse_msgQueued();             /* TODO */
+void converse_msgRecvMC();             /* TODO */
+void converse_msgRecvSC();             /* TODO */
 void converse_handlerBegin(int handlerIdx);
 void converse_handlerEnd  (int handlerIdx);
 
index 3c3c986920208785afeec546af03ed6792e7cf5a..0f832734ab638d8d740346e10203aba541af0870 100644 (file)
@@ -9,7 +9,7 @@ extern "C" {
 /* Tracing API */
 void RegisterLanguage(int lID, char* ln);
 void RegisterEvent(int lID, int eID);
-//TODO some cleanup required below
+/* TODO some cleanup required below */
 void LogEvent(int lID, int eID);
 void LogEvent1(int lID, int eID, int iLen, int* iData);
 void LogEvent2(int lID, int eID, int sLen, char* sData);