21 #include "../../SDL_internal.h" 23 #ifdef SDL_TIMER_HAIKU 25 #include <kernel/OS.h> 29 static bigtime_t
start;
41 start = system_time();
57 return ((system_time() -
start) / 1000);
Uint64 SDL_GetPerformanceFrequency(void)
Get the count per second of the high resolution counter.
uint32_t Uint32
An unsigned 32-bit integer type.
uint64_t Uint64
An unsigned 64-bit integer type.
Uint32 SDL_GetTicks(void)
Get the number of milliseconds since the SDL library initialization.
#define SDL_GetPerformanceCounter