Add new message tagging support for benchmark output

This commit is contained in:
Tony Butler 2020-06-09 13:16:29 -06:00 committed by MoneroOcean
parent 30fdc92884
commit e2ea726a6a
4 changed files with 40 additions and 11 deletions

View file

@ -91,3 +91,13 @@ const char *xmrig::Tags::opencl()
return tag;
}
#endif
#ifdef XMRIG_FEATURE_BENCHMARK
const char *xmrig::Tags::benchmark()
{
static const char *tag = MAGENTA_BG_BOLD(WHITE_BOLD_S " benchmk ");
return tag;
}
#endif

View file

@ -49,6 +49,10 @@ public:
# ifdef XMRIG_FEATURE_OPENCL
static const char *opencl();
# endif
# ifdef XMRIG_FEATURE_BENCHMARK
static const char *benchmark();
# endif
};