#include <sys/time.h>
Go to the source code of this file.
Data Structures | |
struct | Timer |
Typedefs | |
typedef enum TimerMode | TimerMode |
typedef Timer | Timer |
Enumerations | |
enum | TimerMode { TIMER_TICKS, TIMER_SECS, TIMER_FPS } |
Functions | |
void | TimerStart (Timer *t) |
double | TimerElapsed (Timer *t, TimerMode mode) |
double | TimerEnd (Timer *t, TimerMode mode) |
|
Timer object |
|
Timer mode |
|
Timer mode |
|
Returns the elasped time
|
|
Stops the timer and returns the elapsed time
|
|
Starts a timer counting
|