From ab88fdf95a4dd29f6b6ea4a60f3c784ad9503407 Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Tue, 11 Aug 2015 22:11:00 -0700 Subject: [PATCH] Update docstring on stop watch to reflect monotonic lib. usage There is no longer a search for various monotonic providing functions as the direct usage of the monotonic library does that on our behalf now instead. Change-Id: I9b6fb00c48b9ee00d003a10cd66bf6c6af0508e7 --- oslo_utils/timeutils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/oslo_utils/timeutils.py b/oslo_utils/timeutils.py index 47859a75..2420428a 100644 --- a/oslo_utils/timeutils.py +++ b/oslo_utils/timeutils.py @@ -332,9 +332,9 @@ class StopWatch(object): when operations are performed in a thread-safe manner on these objects by wrapping those operations with locks. - It will try to use ``time.monotonic`` and then attempt to use the - `monotonic`_ pypi library and then fallback to using the non-monotonic - ``time.time``. + It will use the `monotonic`_ pypi library to find an appropriate + monotonically increasing time providing function (which typically varies + depending on operating system and python version). .. _monotonic: https://pypi.python.org/pypi/monotonic/ """