This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | vstinner |
|---|---|
| Recipients | pitrou, vstinner |
| Date | 2012年02月23日.23:09:14 |
| SpamBayes Score | 0.08232989 |
| Marked as misclassified | No |
| Message-id | <1330038555.4.0.559569598295.issue14104@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
time.monotonic() can use mach_absolute_time() on Mac OS X. mach_timebase_info() may be used to convert the result to a number of seconds. Examples: https://github.com/ThomasHabets/monotonic_clock/blob/master/src/monotonic_mach.c http://svn.boost.org/svn/boost/trunk/boost/chrono/detail/inlined/mac/chrono.hpp (search steady_clock) Another way is to use clock_get_time() with host_get_clock_service(SYSTEM_CLOCK). Example: https://github.com/gavinbeatty/python-monotonic-time/blob/master/darwin.c |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2012年02月23日 23:09:15 | vstinner | set | recipients: + vstinner, pitrou |
| 2012年02月23日 23:09:15 | vstinner | set | messageid: <1330038555.4.0.559569598295.issue14104@psf.upfronthosting.co.za> |
| 2012年02月23日 23:09:14 | vstinner | link | issue14104 messages |
| 2012年02月23日 23:09:14 | vstinner | create | |