STINNER Victor added the comment: > HP-UX does not support the CLOCK_MONOTONIC state.
I'm sorry but CPython requires a monotonic clock since CPython 3.5. According to https://bugreports.qt.io/browse/QTBUG-22301 HP-UX < 11.3 and Solaris 9 don't support monotonic clock. It seems like gethrtime() is the right function to be used on HP-UX. https://docstore.mik.ua/manuals/hp-ux/en/B2355-60130/gethrtime.3C.html "gethrtime() is measured from an unspecified starting point and is not subject to time server and administrator changes" src: http://nadeausoftware.com/articles/2012/04/c_c_tip_how_measure_elapsed_real_time_benchmarking#gethrtimenbsp ---------- nosy: +haypo _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30183> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com