1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-08 08:23:34 -05:00

Added CMake option WITH_BENCHMARK.

This commit is contained in:
XMRig
2020-10-16 02:18:07 +07:00
parent ccebf6bb20
commit a152d6be42
19 changed files with 245 additions and 121 deletions

View File

@@ -178,8 +178,11 @@ static inline const std::string &usage()
u += " --no-title disable setting console window title\n";
# endif
u += " --pause-on-battery pause mine on battery power\n";
# ifdef XMRIG_FEATURE_BENCHMARK
u += " --stress run continuous stress test to check system stability\n";
u += " --bench=N run benchmark in offline mode, N can be between 1M and 10M\n";
# endif
return u;
}