lib/percy/stats.rb
def time_since_monotonic(stat, start, opts = {})
      unless start.instance_of? Float
        raise ArgumentError, 'start value must be Float'
      end

      timing(stat, ((now.to_f - start.to_f) * 1000).round, opts)
    end
# dogstatsd uses a monotonic (linearly increasing) clock to calculate time
# intervals, so this should be used where necessary. However, it's not
# possible to compare monotonic time values with fixed times, so both are
# available.
dogstatsd uses a monotonic (linearly increasing) clock to calculate time
intervals, so this should be used where necessary. However, it's not
possible to compare monotonic time values with fixed times, so both are
available.
dogstatsd uses a monotonic ( linearly increasing ) clock to calculate time intervals so this should be used where necessary . However it ' s not possible to compare monotonic time values with fixed times so both are available .
def time_since_monotonic(stat, start, opts = {})
      unless start.instance_of? Float
        raise ArgumentError, 'start value must be Float'
      end
      timing(stat, ((now.to_f - start.to_f) * 1000).round, opts)
    end
def time_since_monotonic ( stat , start , opts = { } ) unless start . instance_of? Float raise ArgumentError , 'start value must be Float' end timing ( stat , ( ( now . to_f - start . to_f ) * 1000 ) . round , opts ) end
dogstatsd uses a monotonic (linearly increasing) clock to calculate time
intervals, so this should be used where necessary.
dogstatsd uses a monotonic ( linearly increasing ) clock to calculate time intervals so this should be used where necessary .
stat
start
opts