Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:98211 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10416 invoked from network); 5 Feb 2017 19:18:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Feb 2017 19:18:36 -0000 Authentication-Results: pb1.pair.com header.from=me@kelunik.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=me@kelunik.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain kelunik.com from 81.169.146.216 cause and error) X-PHP-List-Original-Sender: me@kelunik.com X-Host-Fingerprint: 81.169.146.216 mo4-p00-ob.smtp.rzone.de Received: from [81.169.146.216] ([81.169.146.216:16727] helo=mo4-p00-ob.smtp.rzone.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EC/81-30708-98A77985 for ; Sun, 05 Feb 2017 14:18:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1486322311; l=1544; s=domk; d=kelunik.com; h=Content-Type:Cc:To:Subject:Date:From:References:In-Reply-To: MIME-Version; bh=y5Z2oA7ejU/0d2DcTxT3nwNqWjV5xyYz/RJ9gH2XFwE=; b=tyPI1MtpQs5cF76geA5kCuKOkg9Bs36TJr/kaAiDZ+3JJ/n/WrZpwhgVTCQJurvyLo Izij9EbppMNPC29u/ZvNHIA/+PGuuMfJlavCguqMxwdYNIliDZlt61yAMnGbk1KpYmFg DMUiIggeC0IVHROBzD/rMjK2CyehXTEkO4PPc= X-RZG-AUTH: :IWkkfkWkbvHsXQGmRYmUo9mls2vWuiu+7SLDup6E67mzuoBPBqD/sWo= X-RZG-CLASS-ID: mo00 Received: from mail-qk0-f171.google.com ([209.85.220.171]) by smtp.strato.de (RZmta 39.12 AUTH) with ESMTPSA id 20af4ct15JIVweS (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp384r1 with 384 ECDH bits, eq. 7680 bits RSA)) (Client did not present a certificate) for ; Sun, 5 Feb 2017 20:18:31 +0100 (CET) Received: by mail-qk0-f171.google.com with SMTP id s140so37187584qke.0 for ; Sun, 05 Feb 2017 11:18:31 -0800 (PST) X-Gm-Message-State: AMke39nDzKAY0+Y52VMDVMAuw8tDUlyZ/FPgYu6E51JH/d0RoJu9SfsMK/jipsSaCZk7pXjkmPgmba/ofnEJKQ== X-Received: by 10.55.166.66 with SMTP id p63mr6249736qke.142.1486322310575; Sun, 05 Feb 2017 11:18:30 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.144.132 with HTTP; Sun, 5 Feb 2017 11:18:30 -0800 (PST) In-Reply-To: References: <146cbb21-72cf-ed65-095a-43a7420482fc@php.net> <02c901d2684e$d1ee2a30$75ca7e90$@belski.net> <013d01d26e80$5c916f30$15b44d90$@belski.net> Date: Sun, 5 Feb 2017 20:18:30 +0100 X-Gmail-Original-Message-ID: Message-ID: To: Anatol Belski Cc: Leigh , Michael Wallner , PHP Internals , Bob Weinand , Daniel Lowrey Content-Type: multipart/alternative; boundary=94eb2c070ec858055f0547cd618d Subject: Re: [PHP-DEV] Fwd: Monotonic Time From: me@kelunik.com (Niklas Keller) --94eb2c070ec858055f0547cd618d Content-Type: text/plain; charset=UTF-8 I have implemented a `hrtime()` function which allows access to the system's monotonic time in nanoseconds. > > https://github.com/php/php-src/compare/master...kelunik:hrtime Feedback is very welcome. I'm not sure whether we should allow a parameter for the time unit or just let the user do the simple calculation. Regards, Niklas --94eb2c070ec858055f0547cd618d--