mirror of
				https://git.wownero.com/wownero/RandomWOW.git
				synced 2024-08-15 00:23:14 +00:00 
			
		
		
		
	Improved benchmark instructions
This commit is contained in:
		
							parent
							
								
									cb299e5a25
								
							
						
					
					
						commit
						88268ae325
					
				
					 1 changed files with 7 additions and 1 deletions
				
			
		|  | @ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue