We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f2a4de commit 220c0beCopy full SHA for 220c0be
tests/posix/timers/src/clock.c
@@ -22,11 +22,17 @@ static const struct timespec ref_ts = {1514821501, NSEC_PER_SEC / 2U};
22
static const clockid_t clocks[] = {
23
CLOCK_MONOTONIC,
24
CLOCK_REALTIME,
25
+#ifdef CONFIG_POSIX_THREAD_CPUTIME
26
+ CLOCK_THREAD_CPUTIME_ID,
27
+#endif /* CONFIG_POSIX_THREAD_CPUTIME */
28
};
29
30
static const bool settable[] = {
31
false,
32
true,
33
34
+ false,
35
36
37
38
static inline int64_t ts_to_ns(const struct timespec *ts)
0 commit comments