[SDL] SDL Timer funtions...
stephane.marchesin at wanadoo.fr
Sun Nov 30 14:28:01 PST 2003
Dominique Louis wrote:
> What are the SDL equivalents of the following 2 Windows Timer
You can use SDL_GetTicks for that. It depends on the precision you
expect ; SDL_GetTicks goes down to the millisecond and uses rdtsc if
available (what you also know as "performance counters"). Precision
will vary from one platform to another, but is usually enough.
More information about the SDL