class ActiveSupport::Testing::Performance::Metrics::UserTime

Public Instance Methods

measure() click to toggle source
# File 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