Lines Matching refs:interval
42 Uint32 interval;
115 ms = t->interval - SDL_TIMESLICE;
120 if ( (now - t->last_alarm) < t->interval ) {
121 t->last_alarm += t->interval;
131 ms = timer.cb(timer.interval, timer.param);
138 if ( ms != t->interval ) {
140 t->interval = ROUND_RESOLUTION(ms);
165 static SDL_TimerID SDL_AddTimerInternal(Uint32 interval, SDL_NewTimerCallback callback, void *param)
170 t->interval = ROUND_RESOLUTION(interval);
180 printf("SDL_AddTimer(%d) = %08x num_timers = %d\n", interval, (Uint32)t, SDL_timer_running);
185 SDL_TimerID SDL_AddTimer(Uint32 interval, SDL_NewTimerCallback callback, void *param)
201 t = SDL_AddTimerInternal(interval, callback, param);