Functions
! return current time with nanoseconds precision
! returns the duration between after and before, in nanoseconds
! returns the duration between after and before, in microseconds