examples/charm++: Always use CkWallTimer, not CmiWallTimer (tested)
[charm.git] / examples / charm++ / cell / md / patch.C
index 97fa43e8a53bddc5da9c9229421281267fea31e5..cb789b925384442007fa2ef51abc695da0c569fd 100644 (file)
@@ -256,7 +256,7 @@ void Patch::integrate_callback() {
 
   // DMK - DEBUG
   #if ENABLE_USER_EVENTS != 0
 
   // DMK - DEBUG
   #if ENABLE_USER_EVENTS != 0
-    double __start_time__ = CmiWallTimer();
+    double __start_time__ = CkWallTimer();
   #endif
 
   // DMK - DEBUG
   #endif
 
   // DMK - DEBUG
@@ -281,7 +281,7 @@ void Patch::integrate_callback() {
 
   // DMK - DEBUG
   #if ENABLE_USER_EVENTS != 0
 
   // DMK - DEBUG
   #if ENABLE_USER_EVENTS != 0
-    double __end_time__ = CmiWallTimer();
+    double __end_time__ = CkWallTimer();
     traceUserBracketEvent(PROJ_USER_EVENT_PATCH_INTEGRATE_CALLBACK, __start_time__, __end_time__);
   #endif
 }
     traceUserBracketEvent(PROJ_USER_EVENT_PATCH_INTEGRATE_CALLBACK, __start_time__, __end_time__);
   #endif
 }