MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ffclock_getnanotime

Function ffclock_getnanotime

freebsd/kern/kern_ffclock.c:281–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279}
280
281void
282ffclock_getnanotime(struct timespec *tsp)
283{
284 struct bintime bt;
285
286 ffclock_abstime(NULL, &bt, NULL,
287 FFCLOCK_LERP | FFCLOCK_LEAPSEC | FFCLOCK_FAST);
288 bintime2timespec(&bt, tsp);
289}
290
291void
292ffclock_getmicrotime(struct timeval *tvp)

Callers 1

getnanotime_fromclockFunction · 0.85

Calls 2

ffclock_abstimeFunction · 0.85
bintime2timespecFunction · 0.85

Tested by

no test coverage detected