Browse Source

Time for dynamic is in microseconds, not ms.

Con Kolivas 13 years ago
parent
commit
101394ab70
1 changed files with 1 additions and 1 deletions
  1. 1 1
      driver-opencl.c

+ 1 - 1
driver-opencl.c

@@ -1504,7 +1504,7 @@ static int64_t opencl_scanhash(struct thr_info *thr, struct work *work,
 	clFinish(clState->commandQueue);
 
 	/* Windows' timer resolution is only 15ms so oversample 5x */
-	if (gpu->dynamic && (++gpu->intervals * dynamic_us) > 75) {
+	if (gpu->dynamic && (++gpu->intervals * dynamic_us) > 70000) {
 		struct timeval tv_gpuend;
 		double gpu_us;