Tanguy Pruvot
6ae28162db
various extern cleanup + api history uids and gpu SM
...
uids could be useful to create graphes from history data
Note: please do a clean build after this commit (changes in miner.h)
2014-11-26 11:55:42 +01:00
Tanguy Pruvot
cb3f893a85
nvml: fully disable it on windows
...
The DLL exists for x64 targets but seems not loadable
The nvml.cpp code was wrote to support both NVAPI and NVML on windows
because both apis have unique "features". like Fan RPM vs Fan Percent
2014-11-26 09:57:58 +01:00
Tanguy Pruvot
d3258d8bcd
syslog: allow to set a custom prefix
...
will allow kopiemtu livecd internal monitor to set it to cpuminer
2014-11-25 22:37:38 +01:00
Tanguy Pruvot
9b1ff1280e
Allow intermediate intensity (decimals)
...
Sample with -i 18.5
Adding 131072 threads to intensity 18, 393216 cuda threads
And with -i 19.5
Adding 262144 threads to intensity 19, 786432 cuda threads
2014-11-25 19:57:56 +01:00
Tanguy Pruvot
9a97f0cf6e
api: fix size_t printf exception in vstudio
2014-11-25 18:24:01 +01:00
Tanguy Pruvot
7e15f31706
api: pool query (uptime, ping, discon., url and user)
2014-11-25 17:39:02 +01:00
Tanguy Pruvot
1dfbe6dfb5
stratum: yaamp answer to extranonce subscribe lately
...
Fix for the extranonce feature, can also make the miner more stable
2014-11-24 20:14:15 +01:00
Tanguy Pruvot
b824a63cde
affinity: do not mix cpu count with gpu one
...
and update the old var with active gpus if -d is set
2014-11-22 22:14:20 +01:00
Tanguy Pruvot
3be08ad944
update readme (api, current changes, credits)
2014-11-22 16:43:49 +01:00
Tanguy Pruvot
2ea9da1415
stratum: add more checks on request id
2014-11-22 13:30:42 +01:00
Tanguy Pruvot
73f22b237a
Prepare trap of hardware/mem failures
2014-11-20 18:44:25 +01:00
Tanguy Pruvot
b24b65a9c9
api: add gpu pci bus id, unified id + bloc height
2014-11-18 16:25:44 +01:00
Tanguy Pruvot
582c971f2b
api: fix histo gpu/thr id mismatch
2014-11-17 19:11:26 +01:00
Tanguy Pruvot
b4ef7b981f
scan range: add boundary check, cant be > UINT32_MAX
2014-11-17 16:51:36 +01:00
Tanguy Pruvot
6a9b8a5ab2
hashlog: use work objects, put struct in miner.h
2014-11-17 15:58:11 +01:00
Tanguy Pruvot
f5e77452f0
stratum: prevent a booo when receiving a new block
...
seems to works in solo mode too...
note: anime wallet to check, different problem without reject-reason
2014-11-17 02:59:08 +01:00
Tanguy Pruvot
438308b3a2
Rework benchmark mode and min/max range
...
Was maybe my fault, but the benchmark mode was
always recomputing from nonce 0.
Also fix blake if -d 1 is used (one thread but second gpu)
stats: do not use thread id as key, prefer gpu id...
2014-11-16 23:28:18 +01:00
Tanguy Pruvot
44a551c52e
hashrate: ignore first loop speed (often lowered)
2014-11-16 17:34:50 +01:00
Tanguy Pruvot
124dc6ea57
nvapi: fix mapping of devices
2014-11-14 19:33:24 +01:00
Tanguy Pruvot
3652c708b9
api: add histo command and difficulty
...
enhance multi-gpu stats and fix nvapi indexes
change syslog prefix to ccminer (cpuminer remains)
api 1.1 modified - not officially released yet
2014-11-14 19:09:48 +01:00
Tanguy Pruvot
e82f5d4d75
restore divided hashrate for quark and jackpot
...
The previous way it was done was not correct (hashdone divided/2)
So add a factor 0.5 to the computed hashrate... to stay comparable
2014-11-14 13:45:02 +01:00
Tanguy Pruvot
3d2260acc4
stats: add support for current freq and pstate
...
windows only via nvapi, if nvml function is not supported
2014-11-14 02:48:27 +01:00
Tanguy Pruvot
15eea1bc81
api: add nvapi for windows binaries
...
nvml.dll doesnt exists for 32bit binaries! use nvapi to get infos
seems to have more/different features than NVML... like pstate etc..
This is nvapi r343 : https://developer.nvidia.com/nvapi
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2014-11-13 19:01:36 +01:00
Tanguy Pruvot
e40a7a720c
ccminer: rename main file and switch to C++
...
There was a different behavior on linux and visual studio
That was making it hard to link functions correctly
That remove some ifdef / extern "C" requirements
note about x86 releases, x86 nvml.dll is not installed on Windows x64!
2014-11-13 16:11:35 +01:00