diff upreckon/unix.py @ 250:acd70a60bc17

Finished embracing time.monotonic in Python code _unix does not use monotonic clocks yet.
author Oleg Oshmyan <chortos@inbox.lv>
date Sun, 19 Jan 2014 00:50:27 +0000
parents d9eb7d958b6d
children d3a5d1929ad2
line wrap: on
line diff
--- a/upreckon/unix.py	Thu Oct 03 01:19:09 2013 +0300
+++ b/upreckon/unix.py	Sun Jan 19 00:50:27 2014 +0000
@@ -1,4 +1,4 @@
-# Copyright (c) 2010-2011 Chortos-2 <chortos@inbox.lv>
+# Copyright (c) 2010-2014 Chortos-2 <chortos@inbox.lv>
 
 from __future__ import division, with_statement
 
@@ -9,7 +9,7 @@
 import os, sys, time
 
 try:
-	from time import steady as clock
+	from time import monotonic as clock
 except ImportError:
 	if sys.platform.startswith('java'):
 		from time import clock