1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-25 13:42:54 -05:00

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
};