>> I prefer "steady" over "monotonic" because the steady property is what >> users really expect from a "monotonic" clock. A monotonic but not >> steady clock may be useless. > > "steady" is ambiguous IMO. It can only be "steady" in reference to > another clock - but which one ? (real time presumably, but perhaps not, > e.g. if the clock gets suspended on suspend)
Yes, real time is the reference when I say that CLOCK_MONOTONIC is steadier than CLOCK_MONOTONIC_RAW. I agree that CLOCK_MONOTONIC is not steady from the real time reference when the system is suspended. CLOCK_BOOTTIME includes suspend time, but it was only introduced recently in Linux. Because the "steady" name is controversal, I agree to use the "monotonic" name. I will complete the section explaning why time.monotonic() is not called steady :-) Victor _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com