examples/charm++: Always use CkWallTimer, not CmiWallTimer (tested)
[charm.git] / examples / charm++ / jacobi3d-sdag / jacobi3d.C
index 2ec8bc1a776fd67ec12af48d43dee8a9ac65882a..d9263ac79e3d24117b357d07d843981f6c69c81d 100644 (file)
@@ -128,12 +128,12 @@ class Main : public CBase_Main {
       iterations++;
       if (iterations <= WARM_ITER) {
        if (iterations == WARM_ITER)
-         startTime = CmiWallTimer();
+         startTime = CkWallTimer();
        array.doStep();
       }
       else {
        CkPrintf("Completed %d iterations\n", MAX_ITER-1);
-       endTime = CmiWallTimer();
+       endTime = CkWallTimer();
        CkPrintf("Time elapsed per iteration: %f\n", (endTime - startTime)/(MAX_ITER-1-WARM_ITER));
         CkExit();
       }