mirror of
				https://github.com/Ed94/gencpp.git
				synced 2025-11-03 15:26:12 -08:00 
			
		
		
		
	WIP: Restructuring project
This commit is contained in:
		
							
								
								
									
										19
									
								
								base/dependencies/timing.hpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								base/dependencies/timing.hpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,19 @@
 | 
			
		||||
#ifdef GEN_INTELLISENSE_DIRECTIVES
 | 
			
		||||
#	pragma once
 | 
			
		||||
#	include "filesystem.hpp"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#pragma region Timing
 | 
			
		||||
 | 
			
		||||
#ifdef GEN_BENCHMARK
 | 
			
		||||
//! Return CPU timestamp.
 | 
			
		||||
u64 read_cpu_time_stamp_counter( void );
 | 
			
		||||
 | 
			
		||||
//! Return relative time (in seconds) since the application start.
 | 
			
		||||
f64 time_rel( void );
 | 
			
		||||
 | 
			
		||||
//! Return relative time since the application start.
 | 
			
		||||
u64 time_rel_ms( void );
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#pragma endregion Timing
 | 
			
		||||
		Reference in New Issue
	
	Block a user