1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-10 14:58:01 +00:00
Commit Graph

5357 Commits

Author SHA1 Message Date
Kano
87e5c76f4d BTB show C/MHz/mV for device 2013-08-23 22:52:30 +10:00
Kano
5b338b2f93 api.c remove unused reply string 2013-08-23 22:48:31 +10:00
Kano
bdac0633ab api.c fix mcast debug message bug 2013-08-23 17:06:35 +10:00
Kano
af552d21eb README add missing mcast <arg>s 2013-08-23 17:00:48 +10:00
kanoi
c9bf6ee1d2 Merge pull request #483 from kanoi/master
miner.php mcast + docs
2013-08-22 23:49:30 -07:00
Kano
93d73a8a9a API-README break all lines at most 80 characters 2013-08-23 16:46:03 +10:00
Kano
febcc53d99 Update the API Multicast documentation 2013-08-23 16:34:42 +10:00
Kano
3eea3a101f miner.php implement API Multicast handling to automatically find your local net miners 2013-08-23 16:34:01 +10:00
kanoi
326f5ea632 Merge pull request #481 from kanoi/master
API mcast
2013-08-22 07:02:54 -07:00
Kano
55e7f31425 API mcast only reply to remote IP's that are allowed access 2013-08-22 23:38:57 +10:00
Kano
14ac6fa5ab Initial API Multicast response v0.1 to find cgminer APIs 2013-08-22 21:31:32 +10:00
Con Kolivas
e1433f8ef8 Use timespecs on windows as cgtimer_t to capitalise on the higher resolution clock changes. 2013-08-22 13:49:22 +10:00
Con Kolivas
d8e2a43712 Abstract out the conversion of system time to an lldiv_t in decimicroseconds. 2013-08-22 12:55:09 +10:00
Con Kolivas
acc1b7df1b Use our own gettimeofday implementation on windows for it to be consistent across ming builds and higher resolution. 2013-08-22 12:24:39 +10:00
Con Kolivas
70bc62c0f8 Bump version number to 3.4.0 2013-08-21 21:16:03 +10:00
Con Kolivas
fffdea0949 Update NEWS. 2013-08-21 21:15:27 +10:00
Con Kolivas
c56d44cebd Use stack data for HW error% in avalon stats. 2013-08-21 21:00:57 +10:00
Con Kolivas
8a01f5326c Add avalon HW error% to stats and only show BTB variables if avalon is a BTB. 2013-08-21 20:46:07 +10:00
Con Kolivas
b9aa5b6528 Check for cnx_needed on each loop through wait_lp_current. 2013-08-21 20:31:10 +10:00
Con Kolivas
919a836f14 Return positive for cnx_needed when no_work is true. 2013-08-21 20:29:46 +10:00
Con Kolivas
7dbe4bbeb3 Stratum is used more often so test for it first. 2013-08-21 20:12:00 +10:00
Con Kolivas
a52ec336bf Reorder support names alphabetically. 2013-08-21 20:09:17 +10:00
ckolivas
77f9400ca2 Only display the no pool work message once if there are multiple waiters in hash_pop 2013-08-21 12:15:40 +10:00
ckolivas
20de9226fd Provide a message and set a bool when no work is available from any pools and when it resumes again. 2013-08-21 11:21:13 +10:00
ckolivas
0e43084c09 We don't want to continue into the hash_pop function if the getq is frozen. 2013-08-21 11:05:21 +10:00
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. 2013-08-21 10:56:31 +10:00
ckolivas
b12badc9f2 Thread reportin and out can be static non inline. 2013-08-21 10:47:32 +10:00
kanoi
10545d33c7 Merge pull request #480 from kanoi/master
usbutils cps sleep_estimate is not an underestimate
2013-08-20 17:37:06 -07:00
Kano
612c0b12c8 usbutils cps sleep_estimate is not an underestimate 2013-08-21 10:06:19 +10:00
kanoi
ff8c832534 Merge pull request #479 from kanoi/master
usbutils add cps stats estimates
2013-08-20 07:08:06 -07:00
Kano
01855a6051 usbutils add cps stats estimates 2013-08-21 00:06:05 +10:00
Con Kolivas
903d007cb4 Provide cgtimer_sub helper functions. 2013-08-20 22:47:13 +10:00
Con Kolivas
9dc63cee53 Provide cgtimer_to_ms helper functions. 2013-08-20 22:35:38 +10:00
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 2013-08-20 22:27:14 +10:00
Con Kolivas
deb7be72c6 Use the reentrant cgsleep functions for usecps in usbutils. 2013-08-20 21:08:32 +10:00
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. 2013-08-20 20:46:09 +10:00
Con Kolivas
eeac9d81fc Replace all references to the old n*sleep functions with the equivalent cgsleep_*s replacements. 2013-08-20 19:23:49 +10:00
Con Kolivas
7d448cd754 timeGetTime uses huge resources on windows so revert to using timevals for its implementation of cgtimer_t 2013-08-19 23:39:49 +10:00
Con Kolivas
bedd8eeead Revert "Sleep for half a work period only in bflsc_get_results if no dev is suitable."
This reverts commit 9743194547.

Fine now that sleep works properly with the longer sleep.
2013-08-19 21:52:07 +10:00
Con Kolivas
0414bf0960 Quotient/remainder error in ms division. 2013-08-19 21:36:00 +10:00
Con Kolivas
fb66e8b7b7 Only grab a queued work item if we successfully grab the lock to submit work in bflsc_send_work 2013-08-19 21:13:23 +10:00
kanoi
39f4cf0557 Merge pull request #478 from kanoi/btb
BTB get version from Firmware
2013-08-19 03:39:58 -07:00
Kano
96c0c31775 BTB get version from Firmware 2013-08-19 20:34:37 +10:00
Con Kolivas
a76bc0e043 Carve out the unused portions of sha2 implementation. 2013-08-19 19:57:50 +10:00
Con Kolivas
78d78b1063 Import Aaron D. Gifford's fast sha256 implementation. 2013-08-19 19:10:41 +10:00
Con Kolivas
2a78cd36cc Increase the que_low watermarks on BFLSC for they are too low to keep the device busy on scanwork loops. 2013-08-19 18:08:17 +10:00
Con Kolivas
dddc2d1e60 Revert "Reuse times extracted from the clock in bflsc_get_results."
This reverts commit 1d8235334d.

Monotonic clock does not return the same times as gettimeofday.
2013-08-19 17:59:59 +10:00
Con Kolivas
1d8235334d Reuse times extracted from the clock in bflsc_get_results. 2013-08-19 17:55:32 +10:00
Con Kolivas
b238139cf9 Provide cgtimer_to_timeval helper functions. 2013-08-19 17:44:45 +10:00
Con Kolivas
09679e9f8b Provide a timeval_to_cgtime helper function to reuse values. 2013-08-19 17:38:20 +10:00