Explorar el Código

HPCC-9254 Dynamic timeActivities for Roxie - to reduce get_cycles_now() overhead

Signed-off-by: Mark Kelly <mark.kelly@lexisnexis.com>

Made changes to not call virtual function every time.
Mark Kelly hace 11 años
padre
commit
a2585d9fd4
Se han modificado 2 ficheros con 122 adiciones y 108 borrados
  1. 1 0
      roxie/ccd/ccdcontext.cpp
  2. 121 108
      roxie/ccd/ccdserver.cpp

+ 1 - 0
roxie/ccd/ccdcontext.cpp

@@ -2576,6 +2576,7 @@ protected:
         ctxPrefetchProjectPreload = defaultPrefetchProjectPreload;
 
         traceActivityTimes = false;
+        timeActivities = defaultTimeActivities;
     }
 
     void startWorkUnit()

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 121 - 108
roxie/ccd/ccdserver.cpp