… | |
… | |
450 | */ |
450 | */ |
451 | #define TIME_EPSILON 0.0001220703125 /* 1/8192 */ |
451 | #define TIME_EPSILON 0.0001220703125 /* 1/8192 */ |
452 | |
452 | |
453 | #define MIN_TIMEJUMP 1. /* minimum timejump that gets detected (if monotonic clock available) */ |
453 | #define MIN_TIMEJUMP 1. /* minimum timejump that gets detected (if monotonic clock available) */ |
454 | #define MAX_BLOCKTIME 59.743 /* never wait longer than this time (to detect time jumps) */ |
454 | #define MAX_BLOCKTIME 59.743 /* never wait longer than this time (to detect time jumps) */ |
455 | /*#define CLEANUP_INTERVAL (MAX_BLOCKTIME * 5.) /* how often to try to free memory and re-check fds, TODO */ |
|
|
456 | |
455 | |
457 | #if __GNUC__ >= 4 |
456 | #if __GNUC__ >= 4 |
458 | # define expect(expr,value) __builtin_expect ((expr),(value)) |
457 | # define expect(expr,value) __builtin_expect ((expr),(value)) |
459 | # define noinline __attribute__ ((noinline)) |
458 | # define noinline __attribute__ ((noinline)) |
460 | #else |
459 | #else |