mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
parent
d53ae9fdbb
commit
0454d2cca9
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ module ActiveSupport
|
|||
|
||||
if clock_gettime_supported?
|
||||
def now_cpu
|
||||
Process.clock_gettime(Process::CLOCK_PROCESS_CPUTIME_ID)
|
||||
Process.clock_gettime(Process::CLOCK_THREAD_CPUTIME_ID)
|
||||
end
|
||||
else
|
||||
def now_cpu
|
||||
|
|
Loading…
Reference in a new issue