1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-08 08:23:34 -05:00

Added Benchmark class.

This commit is contained in:
XMRig
2020-10-17 04:03:42 +07:00
parent 7fc7b976bf
commit 328f985e07
14 changed files with 346 additions and 156 deletions

View File

@@ -70,6 +70,11 @@ protected:
void handleRequest(IApiRequest &request) override;
# endif
# ifdef XMRIG_FEATURE_BENCHMARK
Benchmark *benchmark() const override;
void printBenchProgress() const override;
# endif
private:
CpuBackendPrivate *d_ptr;
};