Lines 482-493
struct clockinfo {
Link Here
|
482 |
#ifndef CLOCK_MONOTONIC |
482 |
#ifndef CLOCK_MONOTONIC |
483 |
#define CLOCK_MONOTONIC 4 |
483 |
#define CLOCK_MONOTONIC 4 |
484 |
#define CLOCK_UPTIME 5 /* FreeBSD-specific. */ |
484 |
#define CLOCK_UPTIME 5 /* FreeBSD-specific. */ |
|
|
485 |
#define CLOCK_BOOTTIME CLOCK_UPTIME /* Linux compat */ |
485 |
#define CLOCK_UPTIME_PRECISE 7 /* FreeBSD-specific. */ |
486 |
#define CLOCK_UPTIME_PRECISE 7 /* FreeBSD-specific. */ |
486 |
#define CLOCK_UPTIME_FAST 8 /* FreeBSD-specific. */ |
487 |
#define CLOCK_UPTIME_FAST 8 /* FreeBSD-specific. */ |
487 |
#define CLOCK_REALTIME_PRECISE 9 /* FreeBSD-specific. */ |
488 |
#define CLOCK_REALTIME_PRECISE 9 /* FreeBSD-specific. */ |
488 |
#define CLOCK_REALTIME_FAST 10 /* FreeBSD-specific. */ |
489 |
#define CLOCK_REALTIME_FAST 10 /* FreeBSD-specific. */ |
|
|
490 |
#define CLOCK_REALTIME_COARSE CLOCK_REALTIME_FAST /* Linux compat */ |
489 |
#define CLOCK_MONOTONIC_PRECISE 11 /* FreeBSD-specific. */ |
491 |
#define CLOCK_MONOTONIC_PRECISE 11 /* FreeBSD-specific. */ |
490 |
#define CLOCK_MONOTONIC_FAST 12 /* FreeBSD-specific. */ |
492 |
#define CLOCK_MONOTONIC_FAST 12 /* FreeBSD-specific. */ |
|
|
493 |
#define CLOCK_MONOTONIC_COARSE CLOCK_MONOTONIC_FAST /* Linux compat */ |
491 |
#define CLOCK_SECOND 13 /* FreeBSD-specific. */ |
494 |
#define CLOCK_SECOND 13 /* FreeBSD-specific. */ |
492 |
#define CLOCK_THREAD_CPUTIME_ID 14 |
495 |
#define CLOCK_THREAD_CPUTIME_ID 14 |
493 |
#define CLOCK_PROCESS_CPUTIME_ID 15 |
496 |
#define CLOCK_PROCESS_CPUTIME_ID 15 |