mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-30 08:24:26 +00:00
Time for dynamic is in microseconds, not ms.
This commit is contained in:
parent
e341e346d3
commit
101394ab70
@ -1504,7 +1504,7 @@ static int64_t opencl_scanhash(struct thr_info *thr, struct work *work,
|
|||||||
clFinish(clState->commandQueue);
|
clFinish(clState->commandQueue);
|
||||||
|
|
||||||
/* Windows' timer resolution is only 15ms so oversample 5x */
|
/* 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;
|
struct timeval tv_gpuend;
|
||||||
double gpu_us;
|
double gpu_us;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user