module Concurrent

def monotonic_time(unit = :float_second)

Returns:
  • (Float) - The current monotonic time since some unspecified

Parameters:
  • unit (Symbol) -- the time unit to be returned, can be either
def monotonic_time(unit = :float_second)
  Process.clock_gettime(Process::CLOCK_MONOTONIC, unit)
end