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

@ -75,7 +75,7 @@ const char *xmrig::Tags::randomx()
#ifdef XMRIG_FEATURE_BENCHMARK
const char *xmrig::Tags::bench()
{
static const char *tag = RED_BG_BOLD(WHITE_BOLD_S " bench ");
static const char *tag = GREEN_BG_BOLD(WHITE_BOLD_S " bench ");
return tag;
}

View file

@ -89,9 +89,6 @@ const char *Pool::kBenchmark = "benchmark";
#endif
uint32_t Pool::benchProgress = 0;
}

View file

@ -129,8 +129,6 @@ public:
void print() const;
# endif
static uint32_t benchProgress;
private:
enum Flags {
FLAG_ENABLED,