TLIB documentationLINUX: uses gettimeofday(), which provides resolution in microseconds. The actual resolution is not nearly as precise, but is less than 1 msec.
WIN32: uses GetTickCount (approx. 10 msec resolution) or the high performance clock (less than 1 msec resolution)
The real resolution is machine dependant.
#include "tlVision.h"


Go to the source code of this file.
Defines | |
| #define | TL_MAX_TIMER 10 |
Functions | |
| int | tl_timer_init (void) |
| unsigned long | tl_timer_get_time (void) |
| int | tl_timer_reset (int index) |
| unsigned long | tl_timer_get (int index) |
| #define TL_MAX_TIMER 10 |
Maximum number of timers allowed.
| unsigned long tl_timer_get | ( | int | index | ) |
Poll one of the TL timers.
| index | timer index |
| unsigned long tl_timer_get_time | ( | void | ) |
Poll TL main timer.
| int tl_timer_init | ( | void | ) |
| int tl_timer_reset | ( | int | index | ) |
Reset one of the TL timers.
| index | timer index |