#2492 Add missing --huge-pages-jit command line option.

This commit is contained in:
XMRig 2021-07-24 12:27:48 +07:00
parent 2eb2e90631
commit d24581c963
No known key found for this signature in database
GPG key ID: 446A53638BE94409
4 changed files with 9 additions and 0 deletions

View file

@ -88,6 +88,9 @@ static inline const std::string &usage()
u += " --no-huge-pages disable huge pages support\n";
# ifdef XMRIG_OS_LINUX
u += " --hugepage-size=N custom hugepage size in kB\n";
# endif
# ifdef XMRIG_ALGO_RANDOMX
u += " --huge-pages-jit enable huge pages support for RandomX JIT code\n";
# endif
u += " --asm=ASM ASM optimizations, possible values: auto, none, intel, ryzen, bulldozer\n";