[Python-checkins] peps: PEP 418: more links, Java and Ruby
victor.stinner
python-checkins at python.org
Fri Mar 30 03:41:14 CEST 2012
http://hg.python.org/peps/rev/29507c4289ed
changeset: 4168:29507c4289ed
user: Victor Stinner <victor.stinner at gmail.com>
date: Fri Mar 30 01:53:38 2012 +0200
summary:
PEP 418: more links, Java and Ruby
files:
pep-0418.txt | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/pep-0418.txt b/pep-0418.txt
--- a/pep-0418.txt
+++ b/pep-0418.txt
@@ -490,6 +490,8 @@
Librairies exposing monotonic clocks:
+ * `Java: System.nanoTime
+ <http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/System.html#nanoTime()>`_
* `Qt library: QElapsedTimer
<http://qt-project.org/doc/qt-4.8/qelapsedtimer.html>`_
* `glib library: g_get_monotonic_time ()
@@ -504,6 +506,11 @@
* `Perl: Time::HiRes
<http://perldoc.perl.org/Time/HiRes.html>`_ exposes
clock_gettime(CLOCK_MONOTONIC)
+ * `Ruby: AbsoluteTime.now
+ <https://github.com/bwbuchanan/absolute_time/>`_: use
+ clock_gettime(CLOCK_MONOTONIC), mach_absolute_time() or gettimeofday().
+ "AbsoluteTime.monotonic?" method indicates if AbsoluteTime.now is monotonic
+ or not.
Related documents:
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list