#include <SDL_timer.h>
#include <sys/time.h>
#include <limits.h>
#include "globalincs/pstypes.h"
#include "io/timer.h"
#include "graphics/2d.h"
#include "globalincs/alphacolors.h"
#include "osapi/osapi.h"
Go to the source code of this file.
#define MAX_TIME (INT_MAX/2) |
#define MICROSECONDS_PER_SECOND 1000000 |
fix timer_get_approx_seconds |
( |
| ) |
|
fix timer_get_fixed_seconds |
( |
| ) |
|
fix timer_get_fixed_secondsX |
( |
| ) |
|
uint timer_get_high_res_microseconds |
( |
| ) |
|
int timer_get_microseconds |
( |
| ) |
|
int timer_get_milliseconds |
( |
| ) |
|
int timer_get_seconds |
( |
| ) |
|
int timestamp_has_time_elapsed |
( |
int |
stamp, |
|
|
int |
time |
|
) |
| |
void timestamp_inc |
( |
int |
frametime_ms | ) |
|
int timestamp_until |
( |
int |
stamp | ) |
|