From 101394ab70769eef924f9d50045d3b22096756bf Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Thu, 18 Oct 2012 00:57:03 +1100 Subject: [PATCH] Time for dynamic is in microseconds, not ms. --- driver-opencl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver-opencl.c b/driver-opencl.c index 8bd876b2..eec6ce77 100644 --- a/driver-opencl.c +++ b/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;