lib/active_support/notifications/instrumenter.rb in activesupport-6.0.0.beta1 vs lib/active_support/notifications/instrumenter.rb in activesupport-6.0.0.beta2
- old
+ new
@@ -135,10 +135,10 @@
@children.include? event
end
private
def now
- Process.clock_gettime(Process::CLOCK_MONOTONIC)
+ Concurrent.monotonic_time
end
if clock_gettime_supported?
def now_cpu
Process.clock_gettime(Process::CLOCK_PROCESS_CPUTIME_ID)