File time.cpp

namespace o80

Functions

TimePoint time_now()

! return current time with nanoseconds precision

long int time_diff(const TimePoint &before, const TimePoint &after)

! returns the duration between after and before, in nanoseconds

long int time_diff_us(const TimePoint &before, const TimePoint &after)

! returns the duration between after and before, in microseconds