Trace uses imprecise timer in POSIX [CORE3970] #4303
Submitted by: @dmitry-starodubov
Assigned to: @dmitry-starodubov
There is query_performance_counter/query_performance_frequency functions, used by trace:
But HAVE_CLOCK_GETTIME marco is not defined in POSIX (at least in CentOS 6.2, Mandriva 2010.2, OpenSuSE 11.1).
I suppose to add in http://configure.in something like this:
AC_CHECK_LIB(rt, clock_gettime, XE_APPEND(-lrt, LIBS); AC_DEFINE(HAVE_CLOCK_GETTIME, 1,
The text was updated successfully, but these errors were encountered: