module Labkit::System
A helper class to store system-related methods used in metrics, tracing, and logging
Public Class Methods
monotonic_time()
click to toggle source
Returns the current monotonic clock time as seconds with microseconds precision.
Returns the time as a Float.
# File lib/labkit/system.rb, line 9 def self.monotonic_time Process.clock_gettime(Process::CLOCK_MONOTONIC, :float_second) end