xmrig-minimized/src/backend/common
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
..
interfaces More precise hashrate calculation 2020-10-10 11:18:01 +02:00
misc Reduced PciTopology class size. 2019-09-27 01:03:37 +07:00
common.cmake More precise hashrate calculation 2020-10-10 11:18:01 +02:00
Hashrate.cpp More precise hashrate calculation 2020-10-10 11:18:01 +02:00
Hashrate.h Add 3rdparty prefix to all rapidjson includes. 2020-04-29 14:55:04 +07:00
HashrateInterpolator.cpp More precise hashrate calculation 2020-10-10 11:18:01 +02:00
HashrateInterpolator.h More precise hashrate calculation 2020-10-10 11:18:01 +02:00
Tags.h Cleanup 2020-07-22 21:27:40 +07:00
Thread.h Allow partially started threads. 2019-09-17 02:22:59 +07:00
Threads.cpp Add 3rdparty prefix to all rapidjson includes. 2020-04-29 14:55:04 +07:00
Threads.h Add 3rdparty prefix to all rapidjson includes. 2020-04-29 14:55:04 +07:00
Worker.cpp More precise hashrate calculation 2020-10-10 11:18:01 +02:00
Worker.h More precise hashrate calculation 2020-10-10 11:18:01 +02:00
WorkerJob.h reserve at most 1 bit for wrapping detection 2020-09-13 18:42:16 +00:00
Workers.cpp More precise hashrate calculation 2020-10-10 11:18:01 +02:00
Workers.h KawPow: reduced stale/expired shares 2020-05-31 18:22:21 +02:00