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 7a38ad9 commit c1baf37Copy full SHA for c1baf37
tests/posix/timers/src/clock.c
@@ -26,11 +26,17 @@ static const struct timespec ref_ts = {1514821501, NSEC_PER_SEC / 2U};
26
static const clockid_t clocks[] = {
27
CLOCK_MONOTONIC,
28
CLOCK_REALTIME,
29
+#ifdef CONFIG_POSIX_THREAD_CPUTIME
30
+ CLOCK_THREAD_CPUTIME_ID,
31
+#endif /* CONFIG_POSIX_THREAD_CPUTIME */
32
};
33
34
static const bool settable[] = {
35
false,
36
true,
37
38
+ false,
39
40
41
42
ZTEST(posix_timers, test_clock_gettime)
0 commit comments