FreeBSD/sys/sys/timeffc.h
/*
 * Public system clock wrapper API which allows consumers to select which clock
 * to obtain time from, independent of the current default system clock. These
 * wrappers should be used instead of directly calling the underlying fbclock_
 * or ffclock_ functions.
 */
Public system clock wrapper API which allows consumers to select which clock
to obtain time from, independent of the current default system clock. These
wrappers should be used instead of directly calling the underlying fbclock_
or ffclock_ functions.
Public system clock wrapper API which allows consumers to select which clock to obtain time from independent of the current default system clock . These wrappers should be used instead of directly calling the underlying fbclock_ or ffclock_ functions .
static inline void
bintime_fromclock(struct bintime *bt, int whichclock)
{
	if (whichclock == SYSCLOCK_FFWD)
		ffclock_bintime(bt);
	else
		fbclock_bintime(bt);
}
static inline void bintime_fromclock ( struct bintime * bt , int whichclock ) { if ( whichclock == SYSCLOCK_FFWD ) ffclock_bintime ( bt ) ; else fbclock_bintime ( bt ) ; }
Public system clock wrapper API which allows consumers to select which clock
 to obtain time from, independent of the current default system clock.
Public system clock wrapper API which allows consumers to select which clock to obtain time from independent of the current default system clock .