examples/charm++: Always use CkWallTimer, not CmiWallTimer (tested)
[charm.git] / examples / charm++ / cell / md / selfCompute.C
index 950396ae6cf04bf21fe308ab6df60afb7b1ef34c..d4b30865d9eac7e2840fad0b796503b04ac2c5df 100644 (file)
@@ -83,7 +83,7 @@ void SelfCompute::doCalc_callback() {
 
   // DMK - DEBUG
   #if ENABLE_USER_EVENTS != 0
-    double __start_time__ = CmiWallTimer();
+    double __start_time__ = CkWallTimer();
   #endif
 
   // DMK - DEBUG
@@ -105,7 +105,7 @@ void SelfCompute::doCalc_callback() {
 
   // DMK - DEBUG
   #if ENABLE_USER_EVENTS != 0
-    double __end_time__ = CmiWallTimer();
+    double __end_time__ = CkWallTimer();
     traceUserBracketEvent(PROJ_USER_EVENT_SELFCOMPUTE_DOCALC_CALLBACK, __start_time__, __end_time__);
   #endif
 }