Project

General

Profile

Actions

Feature #11952

closed

Use getrusage for Process.times if available

Added by k0kubun (Takashi Kokubun) almost 9 years ago. Updated over 7 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-dev:49471]

Description

Since times(3) has poor precision, I want to use getrusage(2) for Process.times to get better precision if getrusage is available.

before: Process.times #=> #
after: Process.times #=> #


Files

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0