clocknames.h revision d35df493b4e7684c50d2d2fa032ee3a7ac228009
1/* Generated by ./xlat/gen.sh from ./xlat/clocknames.in; do not edit. */
2#if !(defined(CLOCK_REALTIME) || (defined(HAVE_DECL_CLOCK_REALTIME) && HAVE_DECL_CLOCK_REALTIME))
3# define CLOCK_REALTIME 0
4#endif
5#if !(defined(CLOCK_MONOTONIC) || (defined(HAVE_DECL_CLOCK_MONOTONIC) && HAVE_DECL_CLOCK_MONOTONIC))
6# define CLOCK_MONOTONIC 1
7#endif
8#if !(defined(CLOCK_PROCESS_CPUTIME_ID) || (defined(HAVE_DECL_CLOCK_PROCESS_CPUTIME_ID) && HAVE_DECL_CLOCK_PROCESS_CPUTIME_ID))
9# define CLOCK_PROCESS_CPUTIME_ID 2
10#endif
11#if !(defined(CLOCK_THREAD_CPUTIME_ID) || (defined(HAVE_DECL_CLOCK_THREAD_CPUTIME_ID) && HAVE_DECL_CLOCK_THREAD_CPUTIME_ID))
12# define CLOCK_THREAD_CPUTIME_ID 3
13#endif
14#if !(defined(CLOCK_MONOTONIC_RAW) || (defined(HAVE_DECL_CLOCK_MONOTONIC_RAW) && HAVE_DECL_CLOCK_MONOTONIC_RAW))
15# define CLOCK_MONOTONIC_RAW 4
16#endif
17#if !(defined(CLOCK_REALTIME_COARSE) || (defined(HAVE_DECL_CLOCK_REALTIME_COARSE) && HAVE_DECL_CLOCK_REALTIME_COARSE))
18# define CLOCK_REALTIME_COARSE 5
19#endif
20#if !(defined(CLOCK_MONOTONIC_COARSE) || (defined(HAVE_DECL_CLOCK_MONOTONIC_COARSE) && HAVE_DECL_CLOCK_MONOTONIC_COARSE))
21# define CLOCK_MONOTONIC_COARSE 6
22#endif
23#if !(defined(CLOCK_BOOTTIME) || (defined(HAVE_DECL_CLOCK_BOOTTIME) && HAVE_DECL_CLOCK_BOOTTIME))
24# define CLOCK_BOOTTIME 7
25#endif
26#if !(defined(CLOCK_REALTIME_ALARM) || (defined(HAVE_DECL_CLOCK_REALTIME_ALARM) && HAVE_DECL_CLOCK_REALTIME_ALARM))
27# define CLOCK_REALTIME_ALARM 8
28#endif
29#if !(defined(CLOCK_BOOTTIME_ALARM) || (defined(HAVE_DECL_CLOCK_BOOTTIME_ALARM) && HAVE_DECL_CLOCK_BOOTTIME_ALARM))
30# define CLOCK_BOOTTIME_ALARM 9
31#endif
32#if !(defined(CLOCK_SGI_CYCLE) || (defined(HAVE_DECL_CLOCK_SGI_CYCLE) && HAVE_DECL_CLOCK_SGI_CYCLE))
33# define CLOCK_SGI_CYCLE 10
34#endif
35#if !(defined(CLOCK_TAI) || (defined(HAVE_DECL_CLOCK_TAI) && HAVE_DECL_CLOCK_TAI))
36# define CLOCK_TAI 11
37#endif
38
39#ifdef IN_MPERS
40
41# error static const struct xlat clocknames in mpers mode
42
43#else
44
45static
46const struct xlat clocknames[] = {
47 XLAT(CLOCK_REALTIME),
48 XLAT(CLOCK_MONOTONIC),
49 XLAT(CLOCK_PROCESS_CPUTIME_ID),
50 XLAT(CLOCK_THREAD_CPUTIME_ID),
51 XLAT(CLOCK_MONOTONIC_RAW),
52 XLAT(CLOCK_REALTIME_COARSE),
53 XLAT(CLOCK_MONOTONIC_COARSE),
54 XLAT(CLOCK_BOOTTIME),
55 XLAT(CLOCK_REALTIME_ALARM),
56 XLAT(CLOCK_BOOTTIME_ALARM),
57 XLAT(CLOCK_SGI_CYCLE),
58 XLAT(CLOCK_TAI),
59 XLAT_END
60};
61
62#endif /* !IN_MPERS */
63