1
0
mirror of https://github.com/xmrig/xmrig.git synced 2026-06-22 20:12:38 -04:00

Add algo-min-time option same as meta-miner

This commit is contained in:
Tony Butler
2021-09-23 14:40:41 -06:00
parent 22ab8c6254
commit 28b86148ed
8 changed files with 27 additions and 3 deletions

View File

@@ -204,6 +204,13 @@ static inline const std::string &usage()
u += " --no-dmi disable DMI/SMBIOS reader\n";
# endif
# ifdef XMRIG_FEATURE_MO_BENCHMARK
u += "\nMoneroOcean Benchmark (algo-perf):\n";
u += " --rebench-algo run algo-perf benchmark (default if config contains no algo-perf)\n";
u += " --bench-algo-time=N run algo-perf benchmark this many seconds per algo (default: 10)\n";
u += " --algo-min-time=N when mining, avoid switching more often than every N seconds (default: 0/disabled)\n";
# endif
return u;
}