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 ea10e15 commit 3680ea6Copy full SHA for 3680ea6
stdlib/public/Concurrency/Clock.cpp
@@ -127,7 +127,7 @@ switch (clock_id) {
127
*seconds = suspending.tv_sec;
128
*nanoseconds = suspending.tv_nsec;
129
#elif defined(__APPLE__) && HAS_TIME
130
- clock_gettime(CLOCK_UPTIME_RAW, &suspending);
+ clock_getres(CLOCK_UPTIME_RAW, &suspending);
131
132
133
#elif defined(_WIN32)
0 commit comments