# | Line 410 | Line 410 | typedef struct timespec tm_time_t; | |
---|---|---|
410 | typedef struct timeval tm_time_t; | |
411 | #endif | |
412 | ||
413 | + | // High-precision timing |
414 | + | #if defined(HAVE_PTHREADS) && defined(HAVE_CLOCK_NANOSLEEP) |
415 | + | #define PRECISE_TIMING 1 |
416 | + | #define PRECISE_TIMING_POSIX 1 |
417 | + | #endif |
418 | + | |
419 | // Timing functions | |
420 | extern uint64 GetTicks_usec(void); | |
421 | extern void Delay_usec(uint32 usec); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |