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

Function tstosbt

freebsd/sys/time.h:325–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

323}
324
325static __inline sbintime_t
326tstosbt(struct timespec _ts)
327{
328
329 return (((sbintime_t)_ts.tv_sec << 32) + nstosbt(_ts.tv_nsec));
330}
331
332static __inline struct timeval
333sbttotv(sbintime_t _sbt)

Callers 5

snvs_settimeFunction · 0.85
stats_sbinuptimeFunction · 0.85
kern_pollFunction · 0.85
kqueue_scanFunction · 0.85
kern_clock_nanosleepFunction · 0.85

Calls 1

nstosbtFunction · 0.85

Tested by

no test coverage detected