Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 50b1f2d07011 by Victor Stinner in branch 'default':
Issue #13846: Enhance time.monotonic() documentation
http://hg.python.org/cpython/rev/50b1f2d07011
--
___
Python
STINNER Victor victor.stin...@gmail.com added the comment:
Boost has a monotonic time implementation (steady_clock) for OS X
I opened a new issue for Mac OS X: #14104.
--
@Éric: I enhanced the doc. Feel free to complete or rewrite it if you have
better information about such clocks.
Antoine Pitrou pit...@free.fr added the comment:
Boost has a monotonic time implementation (steady_clock) for OS X:
http://svn.boost.org/svn/boost/trunk/boost/chrono/detail/inlined/mac/chrono.hpp
--
nosy: +ned.deily, pitrou
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
Victor, I think the doc doesn’t say why the function is useful for people like
me who don’t already know it. David’s explanation could be reused.
--
___
Python tracker rep...@bugs.python.org
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 376ce937823c by Victor Stinner in branch 'default':
Issue #13846: Add time.monotonic(), monotonic clock.
http://hg.python.org/cpython/rev/376ce937823c
--
nosy: +python-dev
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13846
___
Éric Araujo mer...@netwok.org added the comment:
I don’t understand why this new function would be useful. Time-related modules
in Python are already complicated.
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
R. David Murray rdmur...@bitdance.com added the comment:
If you are trying to time something (an interval), having the time go backward
can really screw up your data. And that *will* happen on a system that is
running NTP (or even just resets its time). monotonic clocks were introduced
at
Éric Araujo mer...@netwok.org added the comment:
Thanks, now I see the usefulness.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13846
___
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Do we actually yet another function, or could this be covered by adding a
parameter such as monotonic=False, perhaps to wallclock().
A monotonic is a different clock, it would be surprising that an
argument uses another clock.
Terry J. Reedy tjre...@udel.edu added the comment:
Do we actually yet another function, or could this be covered by adding a
parameter such as monotonic=False, perhaps to wallclock().
--
nosy: +terry.reedy
stage: - patch review
type: - enhancement
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13846
___
___
New submission from STINNER Victor victor.stin...@haypocalc.com:
After time.wallclock() (issue #10278), let add a time.monotomic() function. It
is similar to time.wallclock() (try to get the most accurate clock) but is not
available if the system doesn't provide a monotonic clock. It may also
Changes by Ross Lagerwall rosslagerw...@gmail.com:
--
nosy: +rosslagerwall
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13846
___
___
14 matches
Mail list logo