platforms/nuttx/src/px4/nxp/kinetis/hrt/hrt.c
hrt_abstime
ts_to_abstime(const struct timespec *ts)
{
	hrt_abstime	result;

	result = (hrt_abstime)(ts->tv_sec) * 1000000;
	result += ts->tv_nsec / 1000;

	return result;
}
/**
 * Convert a timespec to absolute time
 */
Convert a timespec to absolute time
Convert a timespec to absolute time
hrt_abstime
ts_to_abstime(const struct timespec *ts)
{
	hrt_abstime	result;
	result = (hrt_abstime)(ts->tv_sec) * 1000000;
	result += ts->tv_nsec / 1000;
	return result;
}
hrt_abstime ts_to_abstime ( const struct timespec * ts ) { hrt_abstime result ; result = ( hrt_abstime ) ( ts -> tv_sec ) * 1000000 ; result += ts -> tv_nsec / 1000 ; return result ; }
Convert a timespec to absolute time
Convert a timespec to absolute time