Method: Concurrent.monotonic_time

Defined in:
lib/concurrent-ruby/concurrent/utility/monotonic_time.rb,
lib/concurrent-ruby/concurrent/utility/monotonic_time.rb,
lib/concurrent-ruby/concurrent/utility/monotonic_time.rb

.monotonic_time(unit = :float_second) ⇒ Object


19
20
21
# File 'lib/concurrent-ruby/concurrent/utility/monotonic_time.rb', line 19

def monotonic_time(unit = :float_second)
  Process.clock_gettime(Process::CLOCK_MONOTONIC, unit)
end