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

Function bintime_sub

freebsd/sys/time.h:83–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83static __inline void
84bintime_sub(struct bintime *_bt, const struct bintime *_bt2)
85{
86 uint64_t _u;
87
88 _u = _bt->frac;
89 _bt->frac -= _bt2->frac;
90 if (_u < _bt->frac)
91 _bt->sec--;
92 _bt->sec -= _bt2->sec;
93}
94
95static __inline void
96bintime_mul(struct bintime *_bt, u_int _x)

Callers 13

vatpit_delta_ticksFunction · 0.85
vlapic_get_ccrFunction · 0.85
vlapic_callout_handlerFunction · 0.85
cpsw_stat_attachedFunction · 0.85
cpsw_stat_uptimeFunction · 0.85
ffclock_abstimeFunction · 0.85
ffclock_windupFunction · 0.85
ffclock_convert_absFunction · 0.85
sysclock_snap2bintimeFunction · 0.85
tc_setclockFunction · 0.85
cpu_tick_calibrateFunction · 0.85
devstat_end_transactionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected