examples/charm++: Always use CkWallTimer, not CmiWallTimer (tested)
[charm.git] / examples / charm++ / PMEMimic / PMEMimic / PMEMimic.C
index d0d7d48ba3d49d7bbdd76f4885e5c981fd40a37c..3f500c565608732a1f7d028db8041fec4a019c96 100644 (file)
@@ -86,7 +86,7 @@ public:
       pme_z = CProxy_PMEPencil_Z::ckNew(2, opts_z);
 
       done_pme=0;
-      startTimer = CmiWallTimer();
+      startTimer = CkWallTimer();
       pme_x.start();
       
     };
@@ -98,7 +98,7 @@ public:
         {
             done_pme = 0;
 
-            CkPrintf("PME(%d, %d, %d) on %d PEs, %d iteration, avg time:%f(ms)\n", grid_x, grid_y, grid_z, CkNumPes(), max_iter, (CmiWallTimer()-startTimer)/max_iter*1000);
+            CkPrintf("PME(%d, %d, %d) on %d PEs, %d iteration, avg time:%f(ms)\n", grid_x, grid_y, grid_z, CkNumPes(), max_iter, (CkWallTimer()-startTimer)/max_iter*1000);
             CkExit();
         }
     }