mirror of
https://git.wownero.com/wownero/RandomWOW.git
synced 2024-12-21 23:38:54 +00:00
Improved benchmark instructions
This commit is contained in:
parent
cb299e5a25
commit
88268ae325
@ -160,11 +160,17 @@ int main(int argc, char** argv) {
|
|||||||
|
|
||||||
std::cout << "RandomX benchmark v1.1.5" << std::endl;
|
std::cout << "RandomX benchmark v1.1.5" << std::endl;
|
||||||
|
|
||||||
if (help || (!miningMode && !verificationMode)) {
|
if (help) {
|
||||||
printUsage(argv[0]);
|
printUsage(argv[0]);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!miningMode && !verificationMode) {
|
||||||
|
std::cout << "Please select either the fast mode (--mine) or the slow mode (--verify)" << std::endl;
|
||||||
|
std::cout << "Run '" << argv[0] << " --help' to see all supported options" << std::endl;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
std::atomic<uint32_t> atomicNonce(0);
|
std::atomic<uint32_t> atomicNonce(0);
|
||||||
AtomicHash result;
|
AtomicHash result;
|
||||||
std::vector<randomx_vm*> vms;
|
std::vector<randomx_vm*> vms;
|
||||||
|
Loading…
Reference in New Issue
Block a user