method
new
v3.2.1 -
Show latest stable
- Class:
ActiveSupport::Testing::Performance::Metrics::CpuTime
new(*args)public
No documentation available.
# File activesupport/lib/active_support/testing/performance/ruby.rb, line 114
def initialize(*args)
# FIXME: yeah my CPU is 2.33 GHz
RubyProf.cpu_frequency = 2.33e9 unless RubyProf.cpu_frequency > 0
super
end