Go to file
Thiago Macieira 46e2c94417 Make QElapsedTimer always store nanoseconds in t2
Up until now, the value stored in t2 depended on whether we had found
a monotonic clock or not. Fix that by always storing nanoseconds: we
avoid extra calculations and accessing a global variable all the time.

The impact is contained to the actual getting of the time. And we
mitigate by using clock_gettime to get the realtime clock instead of
gettimeofday, if that's available.

Change-Id: Iceef2d050fd9472f1a66e11e7ded79fe5163a132
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
2012-08-13 09:34:10 +02:00
bin Skip doc subfolders when checking includes. 2012-08-01 15:37:46 +02:00
config.tests Fix Mac OS X architecture detection for non-default Xcode setup. 2012-07-21 00:53:40 +02:00
dist Only emit the clicked() signal from views if the left button is used. 2012-08-07 16:40:07 +02:00
doc change \img to \image in docs 2012-08-01 15:37:46 +02:00
examples Call clear() instead of empty() in addressbook/part6 tutorial. 2012-08-09 03:26:19 +02:00
lib Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
mkspecs support -rpath for modules which are not installed to QT_INSTALL_PREFIX 2012-08-11 10:40:23 +02:00
qmake support installs with target dir 2012-08-08 12:04:49 +02:00
src Make QElapsedTimer always store nanoseconds in t2 2012-08-13 09:34:10 +02:00
tests Speed up tst_QGraphicsView::mapToScene test 2012-08-13 09:32:21 +02:00
tools support -rpath for modules which are not installed to QT_INSTALL_PREFIX 2012-08-11 10:40:23 +02:00
util QUnicodeTables: some internal API renamings 2012-06-22 09:47:59 +02:00
.gitattributes Added .tag file with Git revision. 2011-05-03 16:23:49 +02:00
.gitignore Add the CMake directory created during unit testing to .gitignore. 2012-07-23 07:06:23 +02:00
.tag Added .tag file with Git revision. 2011-05-03 16:23:49 +02:00
configure support -rpath for modules which are not installed to QT_INSTALL_PREFIX 2012-08-11 10:40:23 +02:00
configure.bat Remove Q_BYTE_ORDER and -*-endian arguments from configures 2012-03-02 14:48:00 +01:00
header.BSD Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
header.FDL Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
header.LGPL Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
header.LGPL-ONLY Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
INSTALL Remove Symbian specific code from qtbase. 2012-01-31 07:08:31 +01:00
LGPL_EXCEPTION.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.FDL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.GPL Add the LICENSE.GPL file to the module referenced from license headers 2012-05-20 22:41:08 +02:00
LICENSE.LGPL Update contact information in license headers. 2012-01-23 04:04:33 +01:00
LICENSE.PREVIEW.COMMERCIAL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qtbase.pro Install right version of tools when x-compiling. 2012-07-17 12:52:48 +02:00
sync.profile Revert "Move QWindowSystemInterface out of qpa." 2012-08-03 00:38:09 +02:00