Instrumenting Ampi
authorSayantan Chakravorty <sayantan_chak@yahoo.com>
Mon, 6 Jan 2003 04:06:15 +0000 (04:06 +0000)
committerSayantan Chakravorty <sayantan_chak@yahoo.com>
Mon, 6 Jan 2003 04:06:15 +0000 (04:06 +0000)
src/ck-perf/trace-common.C
src/ck-perf/trace-projector.C

index bed4832fede80e5d0baecac7817efb254139a1f2..f8afd902d8e8730f60d96cfc1aec606a0456b1dc 100644 (file)
@@ -236,8 +236,7 @@ void traceClose(void)
 #if ! CMK_BLUEGENE_CHARM
   OPTIMIZE_WARNING
   CkpvAccess(_traces)->traceClose();
-#endif
-   closeTraceCore();
+#endif   
 }
 
 extern "C"
index cdaa230de19406b00b15d7f318f9c97ea80385a5..5fc5630c28bc3239c25b10aa35f12b8d684b6c81 100644 (file)
@@ -122,7 +122,8 @@ void TraceProjector::traceClose(void)
     if(CkMyPe()==0){
            writeSts();
     }
-    CkpvAccess(_traceproj)->endComputation();
+    CkpvAccess(_traceproj)->endComputation();   
+    closeTraceCore(); 
 }
 
 void TraceProjector::traceBegin(void)