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 |
Con Kolivas
|
09dbd616e2
Prepare sleep time on bflsc if no dev needs work yet to avoid busy waiting.
|
12 years ago |
Con Kolivas
|
09e9091dd7
Simplify cgsleep code for windows by using a typedef for cgtimer_t that resolves to clock resolution, using that internally.
|
12 years ago |
Con Kolivas
|
404cbdea84
On windows use the higher accuracy timegettime function to really get 1ms clock and timer accuracy.
|
12 years ago |
Con Kolivas
|
e56c9a5d3b
Use the cgsleep reentrant function to sleep for bflsc between read results to account for time taken to perform reads.
|
12 years ago |
Con Kolivas
|
3c707202cf
Use 100ms delay between checking for results on all bflsc devices as the buffering of results mean checking more frequently just wastes CPU and causes more lock contention for only marginally better latencies.
|
12 years ago |
Con Kolivas
|
ffa12a138a
Fix missed endtimeperiod in overrun timer on windows.
|
12 years ago |
Con Kolivas
|
ad87db07d9
Make cgsleep_us_r take an int64_t for us.
|
12 years ago |
Con Kolivas
|
703c7309c2
Make the cgsleep functions build on windows.
|
12 years ago |
Con Kolivas
|
17447ec7e2
Use the cgsleep reentrant function in avalon_send_task.
|
12 years ago |
Con Kolivas
|
c988587b45
Use the reentrant cgsleep functions within the avalon_send_tasks function.
|
12 years ago |
Con Kolivas
|
8114473228
Set high resolution timing on windows within the cgsleep functions.
|
12 years ago |
Con Kolivas
|
e784b23004
Use the reentrant cgsleep function to time sleeps on reading from avalon.
|
12 years ago |