method
measure
v3.2.13 -
Show latest stable
- Class:
ActiveSupport::Testing::Performance::Metrics::UserTime
measure()public
No documentation available.
# File activesupport/lib/active_support/testing/performance/jruby.rb, line 90
def measure
ManagementFactory.thread_mx_bean.get_current_thread_user_time / 1000 / 1000 / 1000.0 # seconds
end