We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ecd4cf8 + 6c09240 commit 7463fa9Copy full SHA for 7463fa9
unliftio/cbits/time-osx.c
@@ -9,5 +9,5 @@ void unliftio_inittime(void)
9
10
double unliftio_gettime(void)
11
{
12
- return clock_gettime_nsec_np(CLOCK_UPTIME_RAW);
+ return clock_gettime_nsec_np(CLOCK_UPTIME_RAW) / 1e9;
13
}
0 commit comments