Module: Mongoid::Utils Private
- Defined in:
- lib/mongoid/utils.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Class Method Summary collapse
-
.monotonic_time ⇒ Float
private
This function should be used if you need to measure time.
Class Method Details
.monotonic_time ⇒ Float
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.
This function should be used if you need to measure time.
18 19 20 |
# File 'lib/mongoid/utils.rb', line 18 module_function def monotonic_time Process.clock_gettime(Process::CLOCK_MONOTONIC) end |