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

Function bintime2timeval

freebsd/sys/time.h:298–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296}
297
298static __inline void
299bintime2timeval(const struct bintime *_bt, struct timeval *_tv)
300{
301
302 _tv->tv_sec = _bt->sec;
303 _tv->tv_usec = ((uint64_t)1000000 * (uint32_t)(_bt->frac >> 32)) >> 32;
304}
305
306static __inline void
307timeval2bintime(const struct timeval *_tv, struct bintime *_bt)

Callers 15

ip_savecontrolFunction · 0.85
ip6_savecontrol_v4Function · 0.85
ffclock_microtimeFunction · 0.85
ffclock_getmicrotimeFunction · 0.85
ffclock_microuptimeFunction · 0.85
ffclock_getmicrouptimeFunction · 0.85
ffclock_microdifftimeFunction · 0.85
fbclock_microuptimeFunction · 0.85
fbclock_microtimeFunction · 0.85
fbclock_getmicrouptimeFunction · 0.85
microuptimeFunction · 0.85
microtimeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected