Class: Metrics::Milliseconds

Inherits:
TimeUnit show all
Defined in:
lib/ruby-metrics/time_units.rb

Class Method Summary collapse

Class Method Details

.to_nsec(mult = 1) ⇒ Object



22
23
24
# File 'lib/ruby-metrics/time_units.rb', line 22

def self.to_nsec(mult = 1)
  1000000 * mult
end