1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-11 17:32:47 -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
inline Benchmark *benchmark() const override { return nullptr; }
inline void printBenchProgress() const override {}
# endif
private:
CudaBackendPrivate *d_ptr;
};