5403 Commits (6b2a39d298c8214c013a5a306a5c45c78cb7c589)
 

Author SHA1 Message Date
Con Kolivas 09e9091dd7 Simplify cgsleep code for windows by using a typedef for cgtimer_t that resolves to clock resolution, using that internally. 11 years ago
Con Kolivas 404cbdea84 On windows use the higher accuracy timegettime function to really get 1ms clock and timer accuracy. 11 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. 11 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. 11 years ago
Con Kolivas ffa12a138a Fix missed endtimeperiod in overrun timer on windows. 11 years ago
Con Kolivas ad87db07d9 Make cgsleep_us_r take an int64_t for us. 11 years ago
Con Kolivas 703c7309c2 Make the cgsleep functions build on windows. 11 years ago
Con Kolivas 17447ec7e2 Use the cgsleep reentrant function in avalon_send_task. 11 years ago
Con Kolivas c988587b45 Use the reentrant cgsleep functions within the avalon_send_tasks function. 11 years ago
Con Kolivas 8114473228 Set high resolution timing on windows within the cgsleep functions. 11 years ago
Con Kolivas e784b23004 Use the reentrant cgsleep function to time sleeps on reading from avalon. 11 years ago
Con Kolivas 621eb00309 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. 11 years ago
Con Kolivas 0b5edb24f9 Make the nmsleep and nusleep functions use the new cgsleep functions internally till functions are migrated to the new cgsleep API. 11 years ago
Con Kolivas 188210a3d2 Add a ms_to_timespec helper function, and create a cgsleep_ms function that uses absolute timers with clock_nanosleep to avoid overruns. 11 years ago
Con Kolivas f3b75b0b12 Add rt lib linkage to enable use of clock_nanosleep functions with older glibc. 11 years ago
Con Kolivas 37ff9f8428 Add necessary time header include to avalon driver. 11 years ago
Con Kolivas 1864ed2634 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. 11 years ago
Con Kolivas fe7c8e8269 Merge branch 'master' of github.com:ckolivas/cgminer 11 years ago
Con Kolivas 3da121ba15 Merge pull request #477 from someone42/master 11 years ago
Con Kolivas 99cbf09dd1 Add a timeraddspec helper function. 11 years ago
Con Kolivas 1bcd9a43b1 Provide a us_to_timespec helper function. 11 years ago
Con Kolivas 33bb8c7958 Use the us_to_timeval helper function in the avalon driver. 11 years ago
Con Kolivas 2278204ddd Provide a us_to_timeval helper function. 11 years ago
Con Kolivas 53beae814d Use timeval_to_spec helper in avalon driver. 11 years ago
Con Kolivas a6b1c31742 Add helper functions to convert timespec to timeval and vice versa. 11 years ago
Chris Chua 26de6e64be simplifying buffer full check 11 years ago
Chris Chua 0b9474f3a2 forking bitburner write thread function 11 years ago
Chris Chua be0d899b74 making sure original Avalon is unaffected by BitBurner changes 11 years ago
Chris Chua 2b932ccb81 changes to queueing strategy for BitBurner boards 11 years ago
Con Kolivas 1bb6dd406a Merge branch 'master' of github.com:ckolivas/cgminer 11 years ago
Con Kolivas f3f939dd83 Do not poll in avalon_get_results without sleeping if we have finished parsing a full result. 11 years ago
kanoi f3837916fd Merge pull request #476 from kanoi/master 11 years ago
Con Kolivas 61cb05a963 Add c to ambient temperature display for avalon driver. 11 years ago
Kano 356fcb107a BTB allow up to 1400mV as per firmware limits 11 years ago
Kano 51aaf816ef avalon for timeout allow d='calculate it' and fix uninitialised 11 years ago
Con Kolivas 3fe8948629 Use cloned work when finding avalon results since another thread can discard the work item while it's in use. 11 years ago
Con Kolivas 98e338cc52 Provide a variant of find_work_bymidstate that returns a clone of the found work. 11 years ago
Con Kolivas 853f145eef Bump version number to 3.3.4 11 years ago
Con Kolivas 730d062636 Update NEWS. 11 years ago
kanoi c9f58230a5 Merge pull request #475 from kanoi/master 11 years ago
Kano 6b62c402fa API/miner.php add some % fields 11 years ago
Con Kolivas e95ad0479f Nonce2 stratum submission is not working with nonce2 lengths >4, revert the buggy __bin2hex function and use bin2hex. 11 years ago
Con Kolivas dd9233f78b The write thread in avalon is only ever actually woken up by timeout so remove the write semaphore and use a simple sleep poll. 11 years ago
Con Kolivas b2a3941ef1 Fix warning. 11 years ago
Con Kolivas 992a97a396 Interrupting reads on the avalon to start writes loses data so remove the cgsem_post in the read code. 11 years ago
Con Kolivas 1d614599a7 Add room for the null byte at the end of the nonce2 string on stratum share submission and zero the allocated ram. 11 years ago
Con Kolivas 07adb98b34 Bump version to 3.3.3 11 years ago
Con Kolivas 8876fc33d2 Update NEWS for upcoming version 3.3.3 11 years ago
Con Kolivas c8aac74114 Only perform the bin2hex on nonce2 data if it's required for stratum submission, thereby removing the last conversion of that type from stratum work generation. 11 years ago
Con Kolivas 87ae66c7e6 Create a work data template when receiving stratum notification, allowing a simple memcpy of the merkle root avoiding more hex2bin conversions on each work generation. 11 years ago