include/SDL_timer.h
changeset 5514 6bd701987ba9
parent 5262 b530ef003506
child 5535 96594ac5fd1a
     1.1 --- a/include/SDL_timer.h	Fri Mar 25 13:48:48 2011 -0700
     1.2 +++ b/include/SDL_timer.h	Fri Mar 25 14:45:04 2011 -0700
     1.3 @@ -48,6 +48,16 @@
     1.4  extern DECLSPEC Uint32 SDLCALL SDL_GetTicks(void);
     1.5  
     1.6  /**
     1.7 + * \brief Get the current value of the high resolution counter
     1.8 + */
     1.9 +extern DECLSPEC Uint64 SDLCALL SDL_GetPerformanceCounter(void);
    1.10 +
    1.11 +/**
    1.12 + * \brief Get the count per second of the high resolution counter
    1.13 + */
    1.14 +extern DECLSPEC Uint64 SDLCALL SDL_GetPerformanceFrequency(void);
    1.15 +
    1.16 +/**
    1.17   * \brief Wait a specified number of milliseconds before returning.
    1.18   */
    1.19  extern DECLSPEC void SDLCALL SDL_Delay(Uint32 ms);