|
|
@ -1,3 +1,97 @@ |
|
|
|
|
|
|
|
Version 3.4.0 - 21st August 2013 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- Use stack data for HW error% in avalon stats. |
|
|
|
|
|
|
|
- Add avalon HW error% to stats and only show BTB variables if avalon is a BTB. |
|
|
|
|
|
|
|
- Check for cnx_needed on each loop through wait_lp_current. |
|
|
|
|
|
|
|
- Return positive for cnx_needed when no_work is true. |
|
|
|
|
|
|
|
- Stratum is used more often so test for it first. |
|
|
|
|
|
|
|
- Reorder support names alphabetically. |
|
|
|
|
|
|
|
- Only display the no pool work message once if there are multiple waiters in |
|
|
|
|
|
|
|
hash_pop |
|
|
|
|
|
|
|
- Provide a message and set a bool when no work is available from any pools and |
|
|
|
|
|
|
|
when it resumes again. |
|
|
|
|
|
|
|
- We don't want to continue into the hash_pop function if the getq is frozen. |
|
|
|
|
|
|
|
- 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. |
|
|
|
|
|
|
|
- Thread reportin and out can be static non inline. |
|
|
|
|
|
|
|
- usbutils cps sleep_estimate is not an underestimate |
|
|
|
|
|
|
|
- usbutils add cps stats estimates |
|
|
|
|
|
|
|
- Provide cgtimer_sub helper functions. |
|
|
|
|
|
|
|
- Provide cgtimer_to_ms helper functions. |
|
|
|
|
|
|
|
- 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 |
|
|
|
|
|
|
|
- Use the reentrant cgsleep functions for usecps in usbutils. |
|
|
|
|
|
|
|
- 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. |
|
|
|
|
|
|
|
- Replace all references to the old n*sleep functions with the equivalent |
|
|
|
|
|
|
|
cgsleep_*s replacements. |
|
|
|
|
|
|
|
- timeGetTime uses huge resources on windows so revert to using timevals for its |
|
|
|
|
|
|
|
implementation of cgtimer_t |
|
|
|
|
|
|
|
- Quotient/remainder error in ms division. |
|
|
|
|
|
|
|
- Only grab a queued work item if we successfully grab the lock to submit work |
|
|
|
|
|
|
|
in bflsc_send_work |
|
|
|
|
|
|
|
- BTB get version from Firmware |
|
|
|
|
|
|
|
- Carve out the unused portions of sha2 implementation. |
|
|
|
|
|
|
|
- Import Aaron D. Gifford's fast sha256 implementation. |
|
|
|
|
|
|
|
- Increase the que_low watermarks on BFLSC for they are too low to keep the |
|
|
|
|
|
|
|
device busy on scanwork loops. |
|
|
|
|
|
|
|
- Provide cgtimer_to_timeval helper functions. |
|
|
|
|
|
|
|
- Provide a timeval_to_cgtime helper function to reuse values. |
|
|
|
|
|
|
|
- Check for thr->work_restart in restart_wait. |
|
|
|
|
|
|
|
- We should be using que_low to decrease scan sleep time in bflsc. |
|
|
|
|
|
|
|
- Prepare sleep time on bflsc if no dev needs work yet to avoid busy waiting. |
|
|
|
|
|
|
|
- Simplify cgsleep code for windows by using a typedef for cgtimer_t that |
|
|
|
|
|
|
|
resolves to clock resolution, using that internally. |
|
|
|
|
|
|
|
- On windows use the higher accuracy timegettime function to really get 1ms |
|
|
|
|
|
|
|
clock and timer accuracy. |
|
|
|
|
|
|
|
- Use the cgsleep reentrant function to sleep for bflsc between read results to |
|
|
|
|
|
|
|
account for time taken to perform reads. |
|
|
|
|
|
|
|
- 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. |
|
|
|
|
|
|
|
- Fix missed endtimeperiod in overrun timer on windows. |
|
|
|
|
|
|
|
- Make cgsleep_us_r take an int64_t for us. |
|
|
|
|
|
|
|
- Make the cgsleep functions build on windows. |
|
|
|
|
|
|
|
- Use the cgsleep reentrant function in avalon_send_task. |
|
|
|
|
|
|
|
- Use the reentrant cgsleep functions within the avalon_send_tasks function. |
|
|
|
|
|
|
|
- Set high resolution timing on windows within the cgsleep functions. |
|
|
|
|
|
|
|
- Use the reentrant cgsleep function to time sleeps on reading from avalon. |
|
|
|
|
|
|
|
- Provide reentrant versions of cgsleep functions to allow start time to be set |
|
|
|
|
|
|
|
separately from the beginning of the actual sleep, allowing scheduling delays to |
|
|
|
|
|
|
|
be counted in the sleep. |
|
|
|
|
|
|
|
- Make the nmsleep and nusleep functions use the new cgsleep functions |
|
|
|
|
|
|
|
internally till functions are migrated to the new cgsleep API. |
|
|
|
|
|
|
|
- Add a ms_to_timespec helper function, and create a cgsleep_ms function that |
|
|
|
|
|
|
|
uses absolute timers with clock_nanosleep to avoid overruns. |
|
|
|
|
|
|
|
- Add rt lib linkage to enable use of clock_nanosleep functions with older |
|
|
|
|
|
|
|
glibc. |
|
|
|
|
|
|
|
- Add necessary time header include to avalon driver. |
|
|
|
|
|
|
|
- Do a sleep of the full duration it would take to do all the work using |
|
|
|
|
|
|
|
clock_nanosleep in avalon_send_tasks to avoid sleep overruns before polling to |
|
|
|
|
|
|
|
see if it's ready. |
|
|
|
|
|
|
|
- Add a timeraddspec helper function. |
|
|
|
|
|
|
|
- Provide a us_to_timespec helper function. |
|
|
|
|
|
|
|
- Use the us_to_timeval helper function in the avalon driver. |
|
|
|
|
|
|
|
- Provide a us_to_timeval helper function. |
|
|
|
|
|
|
|
- Use timeval_to_spec helper in avalon driver. |
|
|
|
|
|
|
|
- Add helper functions to convert timespec to timeval and vice versa. |
|
|
|
|
|
|
|
- simplifying buffer full check |
|
|
|
|
|
|
|
- forking bitburner write thread function |
|
|
|
|
|
|
|
- making sure original Avalon is unaffected by BitBurner changes |
|
|
|
|
|
|
|
- changes to queueing strategy for BitBurner boards |
|
|
|
|
|
|
|
- Do not poll in avalon_get_results without sleeping if we have finished parsing |
|
|
|
|
|
|
|
a full result. |
|
|
|
|
|
|
|
- Add c to ambient temperature display for avalon driver. |
|
|
|
|
|
|
|
- BTB allow up to 1400mV as per firmware limits |
|
|
|
|
|
|
|
- avalon for timeout allow d='calculate it' and fix uninitialised |
|
|
|
|
|
|
|
- Use cloned work when finding avalon results since another thread can discard |
|
|
|
|
|
|
|
the work item while it's in use. |
|
|
|
|
|
|
|
- Provide a variant of find_work_bymidstate that returns a clone of the found |
|
|
|
|
|
|
|
work. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Version 3.3.4 - 14th August 2013 |
|
|
|
Version 3.3.4 - 14th August 2013 |
|
|
|
|
|
|
|
|
|
|
|
- API/miner.php add some % fields |
|
|
|
- API/miner.php add some % fields |
|
|
|