xmrig/src/backend/opencl
SChernykh 3fbf2ac3d4 More precise hashrate calculation
- Use only steady timestamp counters to guarantee correctness
- CPU backend: directly measure total hashrate using raw hash counters from each thread; update data more often on ARM CPUs because they're slower
- GPU backends: directly measure total hashrate too, but use interpolator with 4 second lag to fix variance from batches of hashes

Total hashrate is now measured directly (realtime for CPU, 4 seconds lag for GPU), so it might differ a bit from the sum of all thread hashrates because data points are taken at different moments in time.

Overhead is reduced a lot since it doesn't have to go through all threads to calculate max total hashrate on every timer tick (2 times a second).
2020-10-10 11:18:01 +02:00
..
cl RandomX: removed rx/loki 2020-10-02 17:02:52 +02:00
generators KawPow: reduced stale/expired shares 2020-05-31 18:22:21 +02:00
interfaces KawPow: reduced stale/expired shares 2020-05-31 18:22:21 +02:00
kernels Cryptonight OpenCL: fix for long input data 2020-07-16 10:39:32 +02:00
runners KawPow: fixed OpenCL memory leak 2020-09-25 10:53:24 +02:00
wrappers Fixed tag in OclLib. 2020-08-21 08:21:51 +07:00
OclBackend.cpp More precise hashrate calculation 2020-10-10 11:18:01 +02:00
OclBackend.h Added printHealth to IBackend interface. 2020-02-14 01:11:53 +07:00
OclCache.cpp Move files. 2020-03-09 01:22:34 +07:00
OclCache.h Move files. 2020-03-09 01:22:34 +07:00
OclCache_unix.cpp Restored OclCache. 2019-08-27 06:31:40 +07:00
OclCache_win.cpp Change cases of Windows include file and link library 2020-05-13 21:00:52 +08:00
OclConfig.cpp KawPow WIP 2020-05-27 16:19:57 +02:00
OclConfig.h Fixed wrong OpenCL platform on macOS. 2020-02-15 04:32:32 +07:00
OclConfig_gen.h KawPow WIP 2020-05-27 16:19:57 +02:00
OclGenerator.h Split config generator to separated files. 2019-09-06 19:38:22 +07:00
OclLaunchData.cpp Move files. 2020-03-09 01:22:34 +07:00
OclLaunchData.h Move files. 2020-03-09 01:22:34 +07:00
OclThread.cpp KawPow: tuned work group size for OpenCL 2020-05-28 10:58:06 +02:00
OclThread.h KawPow: tuned work group size for OpenCL 2020-05-28 10:58:06 +02:00
OclThreads.cpp Add 3rdparty prefix to all rapidjson includes. 2020-04-29 14:55:04 +07:00
OclThreads.h Add 3rdparty prefix to all rapidjson includes. 2020-04-29 14:55:04 +07:00
OclWorker.cpp More precise hashrate calculation 2020-10-10 11:18:01 +02:00
OclWorker.h More precise hashrate calculation 2020-10-10 11:18:01 +02:00
opencl.cmake Better scripts/build.*.sh compatibility. 2020-08-23 15:46:56 +07:00