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

Function bintime_add

freebsd/sys/time.h:71–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71static __inline void
72bintime_add(struct bintime *_bt, const struct bintime *_bt2)
73{
74 uint64_t _u;
75
76 _u = _bt->frac;
77 _bt->frac += _bt2->frac;
78 if (_u > _bt->frac)
79 _bt->sec++;
80 _bt->sec += _bt2->sec;
81}
82
83static __inline void
84bintime_sub(struct bintime *_bt, const struct bintime *_bt2)

Callers 14

ip_savecontrolFunction · 0.85
ip6_savecontrol_v4Function · 0.85
pit_timer_start_cntr0Function · 0.85
vlapic_callout_handlerFunction · 0.85
vlapic_reset_calloutFunction · 0.85
ffclock_convert_deltaFunction · 0.85
ffclock_windupFunction · 0.85
ffclock_convert_absFunction · 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