class ActiveSupport::Notifications::Event

def idle_time

+start!+ and the call to +finish!+
Returns the idle time time (in milliseconds) passed since the call to
def idle_time
  duration - cpu_time
end