Another slow-hash improvement
[hashcat.git] / include / types.h
index 0a45ec7..f2ed4b0 100644 (file)
@@ -988,7 +988,12 @@ struct __hc_device_param
 
   uint    exec_pos;
   double  exec_ms[EXEC_CACHE];
-  double  exec_prev;
+
+  // workaround cpu spinning
+
+  double  exec_us_prev1[EXPECTED_ITERATIONS];
+  double  exec_us_prev2[EXPECTED_ITERATIONS];
+  double  exec_us_prev3[EXPECTED_ITERATIONS];
 
   // this is "current" speed