410 |
|
typedef struct timeval tm_time_t; |
411 |
|
#endif |
412 |
|
|
413 |
+ |
/* Define codes for all the float formats that we know of. |
414 |
+ |
* Though we only handle IEEE format. */ |
415 |
+ |
#define UNKNOWN_FLOAT_FORMAT 0 |
416 |
+ |
#define IEEE_FLOAT_FORMAT 1 |
417 |
+ |
#define VAX_FLOAT_FORMAT 2 |
418 |
+ |
#define IBM_FLOAT_FORMAT 3 |
419 |
+ |
#define C4X_FLOAT_FORMAT 4 |
420 |
+ |
|
421 |
+ |
// High-precision timing |
422 |
+ |
#if defined(HAVE_PTHREADS) && defined(HAVE_CLOCK_NANOSLEEP) && 0 |
423 |
+ |
#define PRECISE_TIMING 1 |
424 |
+ |
#define PRECISE_TIMING_POSIX 1 |
425 |
+ |
#endif |
426 |
+ |
|
427 |
|
// Timing functions |
428 |
|
extern uint64 GetTicks_usec(void); |
429 |
|
extern void Delay_usec(uint32 usec); |