changed the way creating bigsim log for tcharm_barrier.
authorGengbin Zheng <gzheng@illinois.edu>
Fri, 1 Jun 2007 20:03:52 +0000 (20:03 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Fri, 1 Jun 2007 20:03:52 +0000 (20:03 +0000)
src/libs/ck-libs/tcharm/tcharm.C

index 7a0b2de7dbdfe9af147f03af01f5a39da4e0e929..fa3f743da79cacdedfc4a8a601dd2b026b102bf1 100644 (file)
@@ -496,11 +496,11 @@ void TCharm::barrier(void) {
 #if CMK_BLUEGENE_CHARM
         void *curLog;          // store current log in timeline
         _TRACE_BG_TLINE_END(&curLog);
-        TRACE_BG_AMPI_SUSPEND();
+       TRACE_BG_AMPI_BREAK(NULL, "TCharm_Barrier_START", NULL, 0);
 #endif
        stop();
 #if CMK_BLUEGENE_CHARM
-        _TRACE_BG_BEGIN_EXECUTE_NOMSG("TCHARM_BARRIER_RESUME", &curLog);
+        _TRACE_BG_SET_INFO(NULL, "TCHARM_Barrier_END",  &curLog, 1);
 #endif
 }