Method: Datadog::Core::Utils::Time.get_time
- Defined in:
- lib/datadog/core/utils/time.rb
.get_time(unit = :float_second) ⇒ Numeric
Current monotonic time
14 15 16 |
# File 'lib/datadog/core/utils/time.rb', line 14 def get_time(unit = :float_second) Process.clock_gettime(Process::CLOCK_MONOTONIC, unit) end |