Sha256: 92eefd38234b0c3d012bc54510954fa9f2213a351e04f6ec61fb2b0270e5a232
Contents?: true
Size: 393 Bytes
Versions: 33
Compression:
Stored size: 393 Bytes
Contents
# frozen_string_literal: true module Labkit # A helper class to store system-related methods used in metrics, tracing, and logging module System # Returns the current monotonic clock time as seconds with microseconds precision. # # Returns the time as a Float. def self.monotonic_time Process.clock_gettime(Process::CLOCK_MONOTONIC, :float_second) end end end
Version data entries
33 entries across 33 versions & 1 rubygems