Added Benchmark class.

This commit is contained in:
XMRig 2020-10-17 04:03:42 +07:00
parent 7fc7b976bf
commit 328f985e07
No known key found for this signature in database
GPG key ID: 446A53638BE94409
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;
};