class Time

Extensions to the stdlib Time class

Public Class Methods

right_now() click to toggle source

The real hi-res time. See blog.dnsimple.com/2018/03/elapsed-time-with-ruby-the-right-way/

# File lib/wavefront-sdk/stdlib/time.rb, line 10
def self.right_now
  Process.clock_gettime(Process::CLOCK_MONOTONIC)
end