Project

General

Profile

Actions

Feature #8777

closed

Process.mach_absolute_time

Added by tenderlovemaking (Aaron Patterson) over 11 years ago. Updated almost 3 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:56551]

Description

Hi,

This is related to #8658. mach_absolute_time will give us a monotonic clock on OS X. I'm not sure if this fits in to clock_gettime, so I've added a new function for getting the absolute time and another function for converting the absolute time to nanoseconds.

/cc @akr (Akira Tanaka)


Files

mach_absolute.patch (2.81 KB) mach_absolute.patch tenderlovemaking (Aaron Patterson), 08/11/2013 06:23 PM

Related issues 1 (0 open1 closed)

Related to Ruby master - Feature #8658: Process.clock_gettimeClosed07/19/2013Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0