examples/charm++: Always use CkWallTimer, not CmiWallTimer (tested)
[charm.git] / examples / charm++ / PMEMimic / PMEMimic_Parallel / PMEMimic.C
index efa9eb3a62c0d4a7e36de8bcb40981c2e7a3265b..ec2dd97797e3c59b34133812d2c4ac710fec6a64 100644 (file)
@@ -94,7 +94,7 @@ public:
       pme_z = CProxy_PMEPencil_Z::ckNew(2, opts_z);
 
       done_pme=0;
-      nextPhraseTimer = CmiWallTimer();
+      nextPhraseTimer = CkWallTimer();
       pme_x.nextPhrase();
       
     };
@@ -106,7 +106,7 @@ public:
         {
             done_pme = 0;
 
-            CkPrintf("\nPME(%d, %d, %d) on %d PEs (%d pes/node)(%d nodes)\n %d iteration, average time:%f(ms)\n", grid_x, grid_y, grid_z, CkNumPes(), pes_per_node, CkNumPes()/pes_per_node, max_iter, (CmiWallTimer()-nextPhraseTimer)/max_iter*1000);
+            CkPrintf("\nPME(%d, %d, %d) on %d PEs (%d pes/node)(%d nodes)\n %d iteration, average time:%f(ms)\n", grid_x, grid_y, grid_z, CkNumPes(), pes_per_node, CkNumPes()/pes_per_node, max_iter, (CkWallTimer()-nextPhraseTimer)/max_iter*1000);
             CkExit();
         }
     }