Con Kolivas
|
0b5edb24f9
Make the nmsleep and nusleep functions use the new cgsleep functions internally till functions are migrated to the new cgsleep API.
|
12 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.
|
12 years ago |
Luke Dashjr
|
40a3e7ce27
bytes_t: Add bytes_shift and bytes_nullterminate
|
12 years ago |
Luke Dashjr
|
dd9c99c167
bytes_t functions: bytes_init, bytes_append, bytes_reset
|
12 years ago |
Con Kolivas
|
99cbf09dd1
Add a timeraddspec helper function.
|
12 years ago |
Con Kolivas
|
1bcd9a43b1
Provide a us_to_timespec helper function.
|
12 years ago |
Con Kolivas
|
2278204ddd
Provide a us_to_timeval helper function.
|
12 years ago |
Con Kolivas
|
a6b1c31742
Add helper functions to convert timespec to timeval and vice versa.
|
12 years ago |
Luke Dashjr
|
d22028c9b3
Merge commit '6bd10d9' into bfgminer
|
12 years ago |
Luke Dashjr
|
6bd10d905a
Enable notifications for sick/dead with --cmd-sick and --cmd-dead options that execute commands when the event occurs
|
12 years ago |
Con Kolivas
|
e95ad0479f
Nonce2 stratum submission is not working with nonce2 lengths >4, revert the buggy __bin2hex function and use bin2hex.
|
12 years ago |
Luke Dashjr
|
bf1b8bf744
Merge commit '13f729c' into bfgminer
|
12 years ago |
Luke Dashjr
|
13f729cfc1
Bugfix: Avoid incrementing dev_thermal_cutoff_count when just updating timestamp on status
|
12 years ago |
Con Kolivas
|
46b6b07afa
Avoid a potential overflow should a pool specify a large nonce2 length with stratum.
|
12 years ago |
Kano
|
48d91c7f2d
cgsem - increase information on failure
|
12 years ago |
Luke Dashjr
|
7537023841
Avoid using potentially locale-dependent ctype functions in locale-independent contexts
|
12 years ago |
Luke Dashjr
|
1c47c4fbcb
Merge commit 'cdddd4b' into bfgminer
|
12 years ago |
Luke Dashjr
|
cdddd4be5c
Bugfix: Stratum Fix debug logging of initial mining.subscribe command
|
12 years ago |
Luke Dashjr
|
b81e7a23bd
Timer-based gettimeofday substitute for systems with poor time-of-day clocks (Windows)
|
13 years ago |
Luke Dashjr
|
d7d70cbe71
Generic refactoring for timer_set_now
|
13 years ago |
Luke Dashjr
|
ab62fdf1f3
Replace all remaining uses of gettimeofday for timers, with timer_set_now (aka cgtime)
|
13 years ago |
Luke Dashjr
|
df45e5cf9f
Always use struct timeval for timers, and don't mix timers with timestamps (functional only)
|
13 years ago |
Luke Dashjr
|
313f7f9ac8
get_datestamp: Change timeval parameter to time_t, and implement get_now_datestamp for common "current time" use case
|
13 years ago |
Ang Iongchun
|
55af8f09ab
bytes_cpy: avoid malloc and memcpy when size is zero
|
13 years ago |
Ang Iongchun
|
162b65b6a0
fix infinite loop in bytes_cpy when size is zero
|
13 years ago |
Luke Dashjr
|
75b58b16a5
Implement bytes_t for generic binary data storage (including smart realloc-based resize)
|
13 years ago |
Luke Dashjr
|
d46f61e7f0
ztex: Provide manuf/product/serial to cgpu interface
|
13 years ago |
Luke Dashjr
|
9ee00bed83
DevAPI: Store manufacturer/product/serial for each device
|
13 years ago |
Luke Dashjr
|
7d9176a549
cpu & opencl: Refuse to detect more than once
|
13 years ago |
Luke Dashjr
|
68aa670b50
Bugfix: stratum: Log WSAGetLastError() for error number on recv failures on Windows
|
13 years ago |