21 #include "../../SDL_internal.h" 28 #include "../SDL_timer_c.h" 32 #include <pspthreadman.h> 34 static struct timeval
start;
63 gettimeofday(&now,
NULL);
64 ticks=(now.tv_sec-
start.tv_sec)*1000+(now.tv_usec-
start.tv_usec)/1000;
82 const Uint32 max_delay = 0xffffffffUL / 1000;
85 sceKernelDelayThreadCB(ms * 1000);
Uint64 SDL_GetPerformanceFrequency(void)
Get the count per second of the high resolution counter.
Uint32 SDL_GetTicks(void)
Get the number of milliseconds since the SDL library initialization.
#define SDL_GetPerformanceCounter