mirror of
				https://git.wownero.com/wownero/wownero.git
				synced 2024-08-15 01:03:23 +00:00 
			
		
		
		
	Merge pull request #6497
db8563cb performance_tests: some windows fixes (moneromooo-monero)
			
			
This commit is contained in:
		
						commit
						65938d26f6
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -35,7 +35,7 @@
 | 
			
		|||
 | 
			
		||||
struct memcmp32
 | 
			
		||||
{
 | 
			
		||||
  static const size_t loop_count = 1000000000;
 | 
			
		||||
  static const size_t loop_count = 10000000;
 | 
			
		||||
  static int call(const unsigned char *k0, const unsigned char *k1){ return memcmp(k0, k1, 32); }
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -195,7 +195,7 @@ void run_test(const std::string &filter, Params ¶ms, const char* test_name)
 | 
			
		|||
     scale = 1000;
 | 
			
		||||
     time_per_call = runner.time_per_call(1000);
 | 
			
		||||
#ifdef _WIN32
 | 
			
		||||
     unit = "\xb5s";
 | 
			
		||||
     unit = "us";
 | 
			
		||||
#else
 | 
			
		||||
     unit = "µs";
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue