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