2025-02-04 18:33:07 -05:00
|
|
|
#ifdef INTELLISENSE_DIRECTIVES
|
2023-08-28 23:46:50 -04:00
|
|
|
# pragma once
|
|
|
|
# include "filesystem.hpp"
|
|
|
|
#endif
|
2023-08-21 20:30:13 -04:00
|
|
|
|
2023-07-25 23:00:57 -04:00
|
|
|
#pragma region Timing
|
|
|
|
|
2023-07-24 18:19:37 -04:00
|
|
|
#ifdef GEN_BENCHMARK
|
|
|
|
//! Return CPU timestamp.
|
2025-01-29 02:04:50 -05:00
|
|
|
GEN_API u64 read_cpu_time_stamp_counter( void );
|
2023-07-24 18:19:37 -04:00
|
|
|
|
|
|
|
//! Return relative time (in seconds) since the application start.
|
2025-01-29 02:04:50 -05:00
|
|
|
GEN_API f64 time_rel( void );
|
2023-07-24 18:19:37 -04:00
|
|
|
|
|
|
|
//! Return relative time since the application start.
|
2025-01-29 02:04:50 -05:00
|
|
|
GEN_API u64 time_rel_ms( void );
|
2023-07-24 18:19:37 -04:00
|
|
|
#endif
|
2023-07-25 23:00:57 -04:00
|
|
|
|
|
|
|
#pragma endregion Timing
|