Method: Mutant::Timer.now

Defined in:
lib/mutant/timer.rb

.nowFloat

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

The now monotonic time

Returns:

  • (Float)


17
18
19
# File 'lib/mutant/timer.rb', line 17

def self.now
  Process.clock_gettime(Process::CLOCK_MONOTONIC)
end