Tanguy Pruvot
a537fa304c
Add basic API remote control
...
only allowed if --api-remote parameter or config key is set
and fix possible problem with urls containing user:password@
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
10 years ago
Tanguy Pruvot
3938dce740
api: one decimal is enough for intensity
...
and fix windows build... missing __func define
10 years ago
Tanguy Pruvot
26b51a557b
Allow different intensity per device
...
and clean the old variables, no more required
10 years ago
Tanguy Pruvot
dfa9f63886
api: report intensity and throughput for each thread
...
even when no parameter is set (default set in each algo code)
10 years ago
Tanguy Pruvot
2a5233f56e
api: report throughput when default
10 years ago
Tanguy Pruvot
6500160fe1
api: add cuda threads count
10 years ago
Tanguy Pruvot
ec454dd78c
api: add fan rpm (windows nvapi only)
10 years ago
Tanguy Pruvot
5cbf239d8a
api: add kernel version for linux
10 years ago
Tanguy Pruvot
d09ec41251
api: allow -b <ip>, and set bind retry to 20sec
...
before, only -b <ip:port>, <port> or 0 (disable) was allowed
easier to set -b 0.0.0.0 with default port
10 years ago
Tanguy Pruvot
543de0a73c
api: add support for websocket calls
...
Allow to directly get api data in HTML5
Tested on Chrome... IE>=10 required, not tested
IE11 seems buggy on connection close... todo
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
10 years ago
Tanguy Pruvot
8ad180cc70
various small changes
...
heavy: reduce by 256 threads default intensity to all -i 20
cuda: put static thread init bools outside the code (made once)
api: fix nvml header to build without
10 years ago
Tanguy Pruvot
1032f191bf
api: update sample php ui with pool
...
and report pstate in hwinfo only
10 years ago
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)
10 years ago
Tanguy Pruvot
9a97f0cf6e
api: fix size_t printf exception in vstudio
10 years ago
Tanguy Pruvot
7e15f31706
api: pool query (uptime, ping, discon., url and user)
10 years ago
Tanguy Pruvot
3e8457d76c
api: add device uuid (nvml), and OS in hwinfo
...
move nvdriver to sys infos (unique on system)
prepare pool query
10 years ago
Tanguy Pruvot
dc5d1b112d
api: add scanlog command to monitor scan ranges
...
will be used for external debugging...
10 years ago
Tanguy Pruvot
484bbc4b15
api: restore bios, can be useful to identify
...
We have no way yet to identify a MSI 750 from a Gigabyte one...
10 years ago
Tanguy Pruvot
d0ad1017e9
nvapi: get vid/pid like nvml + driver version
...
remove vbios revision, goal was to find the vendor...
10 years ago
Tanguy Pruvot
e2ac7a2a75
api: add nvapi and nvml ids for C# tools
10 years ago
Tanguy Pruvot
aa74aa33e2
api: fix hwinfo gpus
10 years ago
Tanguy Pruvot
9a8b7ff0d7
api: add cpu temp/freq (linux)
10 years ago
Tanguy Pruvot
73f22b237a
Prepare trap of hardware/mem failures
10 years ago
Tanguy Pruvot
1bc4e7e942
api: add mem size and freq to hwinfo query
10 years ago
Tanguy Pruvot
3ad4be7de0
api: export gpu freq on linux too + hwinfo command
10 years ago
Tanguy Pruvot
b24b65a9c9
api: add gpu pci bus id, unified id + bloc height
10 years ago
Tanguy Pruvot
17cf3767e9
api: also fix nvapi mapping and double swap on histo
10 years ago
Tanguy Pruvot
582c971f2b
api: fix histo gpu/thr id mismatch
10 years ago
Tanguy Pruvot
047e79a9fc
api: add meminfo query to debug mem storages
10 years ago
Tanguy Pruvot
59391e25ec
api: fix includes after a test on mingw (cpuminer)
10 years ago
Tanguy Pruvot
3e43553735
api: export card labels and count, renames stats command
...
renammed to "threads", stats was too much generic
10 years ago
Tanguy Pruvot
cc05128ae3
api: fix histo thread param
10 years ago
Tanguy Pruvot
124dc6ea57
nvapi: fix mapping of devices
10 years ago
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
10 years ago
Tanguy Pruvot
3d2260acc4
stats: add support for current freq and pstate
...
windows only via nvapi, if nvml function is not supported
10 years ago
Tanguy Pruvot
e139736a2f
api: better compat with telnet + help command
...
handle "\r\n" and terminate connection if command is not known
10 years ago
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!
10 years ago
Tanguy Pruvot
49f3c454c2
Add nvml for GPU monitoring (squashed)
...
Based on mwhite73 <marvin.white@gmail.com> implementation
Linked to the api system
Also fix Makefile to support standard c++ files
This prevent nvcc use without device code
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
10 years ago
Tanguy Pruvot
1118d6c3db
update readme and config.json for the 1.4.8
10 years ago
Tanguy Pruvot
2e0bc5e133
api: add api-bind param -b 0.0.0.0:4068
...
possible values :
5000 or :5000 to use port 5000 (local only)
0.0.0.0:5000 to allow connections from the network
127.0.0.1:4068 to only allow local connections (default)
Use -b 0 to disable the API system.
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
10 years ago
Tanguy Pruvot
11a4bb1797
api: changes in data, global stuff in summary
...
PS: still under dev, wait the final 1.4.8 ;)
10 years ago
Tanguy Pruvot
f58b2d3d21
api: fixes for windows (to finish)
10 years ago
Tanguy Pruvot
4958ce6007
api: add a basic stats api on port 2068
...
you can use PHP api-example.php as a json wrapper...
to be tested on windows...
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
10 years ago