realtime :: Timespec :: to_f
Float
Incurs a loss of precision, but the result is pretty to print.
# Number of seconds as a `Float` # # Incurs a loss of precision, but the result is pretty to print. fun to_f: Float `{ return (double)self->tv_sec + 0.000000001 * self->tv_nsec; `}