Option "yield" enabled by default and added command line option --cpu-no-yield.

This commit is contained in:
XMRig 2019-12-04 08:50:54 +07:00
parent a556070b42
commit 901f1a7ab1
No known key found for this signature in database
GPG key ID: 446A53638BE94409
9 changed files with 15 additions and 4 deletions

View file

@ -80,6 +80,7 @@ static inline const std::string &usage()
u += " --cpu-priority set process priority (0 idle, 2 normal to 5 highest)\n";
u += " --cpu-max-threads-hint=N maximum CPU threads count (in percentage) hint for autoconfig\n";
u += " --cpu-memory-pool=N number of 2 MB pages for persistent memory pool, -1 (auto), 0 (disable)\n";
u += " --cpu-no-yield prefer maximum hashrate rather than system response/stability\n";
u += " --no-huge-pages disable huge pages support\n";
u += " --asm=ASM ASM optimizations, possible values: auto, none, intel, ryzen, bulldozer\n";