ckolivas
|
20de9226fd
Provide a message and set a bool when no work is available from any pools and when it resumes again.
|
12 years ago |
ckolivas
|
0e43084c09
We don't want to continue into the hash_pop function if the getq is frozen.
|
12 years ago |
ckolivas
|
cbea0a5306
Only report threads in and out in queued work devices across a get work since the rest happens asynchronously and the get work is what the device might be waiting on.
|
12 years ago |
ckolivas
|
b12badc9f2
Thread reportin and out can be static non inline.
|
12 years ago |
kanoi
|
10545d33c7
Merge pull request #480 from kanoi/master
|
12 years ago |
Kano
|
612c0b12c8
usbutils cps sleep_estimate is not an underestimate
|
12 years ago |
kanoi
|
ff8c832534
Merge pull request #479 from kanoi/master
|
12 years ago |
Kano
|
01855a6051
usbutils add cps stats estimates
|
12 years ago |
Con Kolivas
|
903d007cb4
Provide cgtimer_sub helper functions.
|
12 years ago |
Con Kolivas
|
9dc63cee53
Provide cgtimer_to_ms helper functions.
|
12 years ago |
Con Kolivas
|
7d0c9b5060
Rename cgsleep_prepare_r as cgtimer_time to get time in cgtimer_t format and call cgsleep_prepare_r as a macro for cgtimer_time
|
12 years ago |
Con Kolivas
|
deb7be72c6
Use the reentrant cgsleep functions for usecps in usbutils.
|
12 years ago |
Con Kolivas
|
ee2a5ae8f4
TimeBeginPeriod and TimeEndPeriod do not add significant overhead when run the entire time for cgminer so avoid trying to maintain balanced numbers of them for specific time calls to simplify code.
|
12 years ago |
Con Kolivas
|
eeac9d81fc
Replace all references to the old n*sleep functions with the equivalent cgsleep_*s replacements.
|
12 years ago |
Con Kolivas
|
7d448cd754
timeGetTime uses huge resources on windows so revert to using timevals for its implementation of cgtimer_t
|
12 years ago |
Con Kolivas
|
bedd8eeead
Revert "Sleep for half a work period only in bflsc_get_results if no dev is suitable."
|
12 years ago |
Con Kolivas
|
0414bf0960
Quotient/remainder error in ms division.
|
12 years ago |
Con Kolivas
|
fb66e8b7b7
Only grab a queued work item if we successfully grab the lock to submit work in bflsc_send_work
|
12 years ago |
kanoi
|
39f4cf0557
Merge pull request #478 from kanoi/btb
|
12 years ago |
Kano
|
96c0c31775
BTB get version from Firmware
|
12 years ago |
Con Kolivas
|
a76bc0e043
Carve out the unused portions of sha2 implementation.
|
12 years ago |
Con Kolivas
|
78d78b1063
Import Aaron D. Gifford's fast sha256 implementation.
|
12 years ago |
Con Kolivas
|
2a78cd36cc
Increase the que_low watermarks on BFLSC for they are too low to keep the device busy on scanwork loops.
|
12 years ago |
Con Kolivas
|
dddc2d1e60
Revert "Reuse times extracted from the clock in bflsc_get_results."
|
12 years ago |
Con Kolivas
|
1d8235334d
Reuse times extracted from the clock in bflsc_get_results.
|
12 years ago |
Con Kolivas
|
b238139cf9
Provide cgtimer_to_timeval helper functions.
|
12 years ago |
Con Kolivas
|
09679e9f8b
Provide a timeval_to_cgtime helper function to reuse values.
|
12 years ago |
Con Kolivas
|
9743194547
Sleep for half a work period only in bflsc_get_results if no dev is suitable.
|
12 years ago |
Con Kolivas
|
a61e41a070
Check for thr->work_restart in restart_wait.
|
12 years ago |
Con Kolivas
|
89f571f527
We should be using que_low to decrease scan sleep time in bflsc.
|
12 years ago |