Re: [Python-Dev] PEP 418: Add monotonic clock

2012年3月27日 00:16:13 -0700

On 27 March 2012 01:23, Scott Dial <[email protected]> wrote:
> If you want to define new clocks, then I wish you would use the same
> definitions that C++0x is using. That is:
>
> system_clock = wall clock time
> monotonic_clock = always goes forward but can be adjusted
> steady_clock = always goes forward and cannot be adjusted
> high_resolution_clock = steady_clock || system_clock
+1. This seems like an ideal case for following prior art in designing
a Python API.
Paul
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to