examples/charm++: Always use CkWallTimer, not CmiWallTimer (tested)
[charm.git] / examples / charm++ / cuda / overlapTestGPUManager / overlapTest.C
index 7bdbcd57922ea4a457226833982a8bf6562eb942..e66b4829630e7f7aee7e6bbd898237a7e6d55a39 100644 (file)
@@ -23,14 +23,14 @@ Main::Main(CkArgMsg *m) {
 
   workers = CProxy_Workers::ckNew(numChares); 
 
-  startTime = CmiWallTimer(); 
+  startTime = CkWallTimer(); 
     
   workers.setupBuffers(); 
 }
 
 void Main::finishWork(CkReductionMsg *m) {
   delete m;
-  CkPrintf("Elapsed time: %f s\n", CmiWallTimer() - startTime);  
+  CkPrintf("Elapsed time: %f s\n", CkWallTimer() - startTime);  
   CkExit(); 
 }