From: Vadim Zeitlin Date: Sun, 27 Nov 2011 19:50:42 +0000 (+0000) Subject: Use wxGetUTCTimeUSec() in wxStopWatch under Unix for higher precision. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/796e54ef37c2ecad97841d467702ba549ff8cc49?hp=796e54ef37c2ecad97841d467702ba549ff8cc49 Use wxGetUTCTimeUSec() in wxStopWatch under Unix for higher precision. If gettimeofday() is available we can achieve better than millisecond precision (even if it usually isn't as high as microsecond), so use it as clock source in wxStopWatch. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 ---