Use wxGetUTCTimeUSec() in wxStopWatch under Unix for higher precision.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 27 Nov 2011 19:50:42 +0000 (19:50 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 27 Nov 2011 19:50:42 +0000 (19:50 +0000)
commit796e54ef37c2ecad97841d467702ba549ff8cc49
treeccc203a0941e57b68ec2b9cd37a6925265042588
parente16458826d99c9c76c93ee46933a22d89a38a388
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
docs/changes.txt
src/common/stopwatch.cpp