Luke Dashjr
|
d7d70cbe71
Generic refactoring for timer_set_now
|
12 years ago |
Luke Dashjr
|
ab62fdf1f3
Replace all remaining uses of gettimeofday for timers, with timer_set_now (aka cgtime)
|
12 years ago |
Luke Dashjr
|
df45e5cf9f
Always use struct timeval for timers, and don't mix timers with timestamps (functional only)
|
12 years ago |
Luke Dashjr
|
313f7f9ac8
get_datestamp: Change timeval parameter to time_t, and implement get_now_datestamp for common "current time" use case
|
12 years ago |
Ang Iongchun
|
55af8f09ab
bytes_cpy: avoid malloc and memcpy when size is zero
|
12 years ago |
Ang Iongchun
|
162b65b6a0
fix infinite loop in bytes_cpy when size is zero
|
12 years ago |
Luke Dashjr
|
75b58b16a5
Implement bytes_t for generic binary data storage (including smart realloc-based resize)
|
12 years ago |
Luke Dashjr
|
d46f61e7f0
ztex: Provide manuf/product/serial to cgpu interface
|
12 years ago |
Luke Dashjr
|
9ee00bed83
DevAPI: Store manufacturer/product/serial for each device
|
12 years ago |
Luke Dashjr
|
7d9176a549
cpu & opencl: Refuse to detect more than once
|
12 years ago |
Luke Dashjr
|
68aa670b50
Bugfix: stratum: Log WSAGetLastError() for error number on recv failures on Windows
|
12 years ago |
Luke Dashjr
|
adc85d0b5c
Use bfg_strerror where it is already needed (for thread-safety)
|
12 years ago |
Luke Dashjr
|
ac0bae4e91
New thread-safe bfg_strerror function to portably stringify error codes
|
12 years ago |
Luke Dashjr
|
b001f6cc72
Merge commit 'd52ab24' into cg_merges_20130606a
|
12 years ago |
Luke Dashjr
|
daf67462aa
Add missing copyright sections to files that may need them
|
12 years ago |
Con Kolivas
|
d52ab244ee
Provide an nusleep equivalent function to nmsleep.
|
12 years ago |
Luke Dashjr
|
9610c8579c
Semi-Merge commit 'd2abaa8' into cg_merges_20130524b
|
12 years ago |
Luke Dashjr
|
bce21f9d87
Merge commit '62a1403' into cg_merges_20130524b
|
12 years ago |
Luke Dashjr
|
b8c896eed2
Merge commit '3d7f824' into cg_merges_20130524b
|
12 years ago |
Luke Dashjr
|
cae7367310
Merge commit '1935865' into bfgminer
|
12 years ago |
Con Kolivas
|
60560cb0a0
Create an OS specific sock_blocks function.
|
12 years ago |
Kano
|
863c9e27df
util.c str_text make a fully text readable version of str
|
12 years ago |
Con Kolivas
|
a2a7a036f0
Create an OS specific sock_blocks function.
|
12 years ago |
Con Kolivas
|
d2abaa8317
Provide wrappers for commonly used timer routines with API stats.
|
12 years ago |
Con Kolivas
|
62a1403b3b
Move util.c exports to util.h
|
12 years ago |
Con Kolivas
|
3d7f824363
Create a cgminer specific gettimeofday wrapper that is always called with tz set to NULL and increases the resolution on windows.
|
12 years ago |
Luke Dashjr
|
1ac05ac2e1
Merge commit '16dacbc' into bfgminer
|
13 years ago |
Luke Dashjr
|
16dacbcf1b
opencl: Include OpenCL platform in kernel binary filenames
|
13 years ago |
Luke Dashjr
|
fb65a1bb0e
Merge commit '3fa8bdd' into bfgminer
|
13 years ago |
Luke Dashjr
|
538190b958
json_dumps_ANY utility function to portably implement json_dumps(..., ... | JSON_ENCODE_ANY)
|
13 years ago |