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

Function bintime_addx

freebsd/sys/time.h:60–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58};
59
60static __inline void
61bintime_addx(struct bintime *_bt, uint64_t _x)
62{
63 uint64_t _u;
64
65 _u = _bt->frac;
66 _bt->frac += _x;
67 if (_u > _bt->frac)
68 _bt->sec++;
69}
70
71static __inline void
72bintime_add(struct bintime *_bt, const struct bintime *_bt2)

Callers 6

ffclock_abstimeFunction · 0.85
bintime_offFunction · 0.85
sysclock_getsnapshotFunction · 0.85
sysclock_snap2bintimeFunction · 0.85
kern_tc.cFile · 0.85
pps_eventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected