[issue30183] [HPUX] compilation error in pytime.c with cc compiler
STINNER Victor
report at bugs.python.org
Thu Apr 27 07:21:50 EDT 2017
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 <report at bugs.python.org>
<http://bugs.python.org/issue30183>
_______________________________________
More information about the Python-bugs-list
mailing list