[issue13846] Add time.monotonic() function

2012-02-23 Thread Roundup Robot
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

[issue13846] Add time.monotonic() function

2012-02-23 Thread STINNER Victor
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.

[issue13846] Add time.monotonic() function

2012-02-20 Thread Antoine Pitrou
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

[issue13846] Add time.monotonic() function

2012-02-08 Thread Éric Araujo
É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

[issue13846] Add time.monotonic() function

2012-02-07 Thread Roundup Robot
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

[issue13846] Add time.monotonic() function

2012-02-07 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13846 ___

[issue13846] Add time.monotonic() function

2012-02-03 Thread Éric Araujo
É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

[issue13846] Add time.monotonic() function

2012-02-03 Thread R. David Murray
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

[issue13846] Add time.monotonic() function

2012-02-03 Thread Éric Araujo
É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 ___ ___

[issue13846] Add time.monotonic() function

2012-01-29 Thread STINNER Victor
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.

[issue13846] Add time.monotonic() function

2012-01-27 Thread Terry J. Reedy
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

[issue13846] Add time.monotonic() function

2012-01-24 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13846 ___ ___

[issue13846] Add time.monotonic() function

2012-01-23 Thread STINNER Victor
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

[issue13846] Add time.monotonic() function

2012-01-23 Thread Ross Lagerwall
Changes by Ross Lagerwall rosslagerw...@gmail.com: -- nosy: +rosslagerwall ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13846 ___ ___