22 #include "SDL_thread.h"
25 #include "../SDL_timer_c.h"
29 #include <pspthreadman.h>
53 gettimeofday(&now,
NULL);
54 ticks=(now.tv_sec-
start.tv_sec)*1000+(now.tv_usec-
start.tv_usec)/1000;
72 const Uint32 max_delay = 0xffffffffUL / 1000;
75 sceKernelDelayThreadCB(ms * 1000);
static SDL_bool ticks_started
uint32_t Uint32
An unsigned 32-bit integer type.
DECLSPEC Uint32 SDLCALL SDL_GetTicks(void)
Get the number of milliseconds since the SDL library initialization.
uint64_t Uint64
An unsigned 64-bit integer type.
DECLSPEC Uint64 SDLCALL SDL_GetPerformanceCounter(void)
Get the current value of the high resolution counter.
DECLSPEC void SDLCALL SDL_Delay(Uint32 ms)
Wait a specified number of milliseconds before returning.
DECLSPEC Uint64 SDLCALL SDL_GetPerformanceFrequency(void)
Get the count per second of the high resolution counter.