Go to file
Chris Adams d8ad516150 Add new benchmark metrics to testlib
QElapsedTimer provides nanosecond-resolution elapsed timing, which
allows for finer granularity benchmark reporting.  Also, clients
may also wish to benchmark the memory usage of a particular component,
but no metric currently exists which matches that requirement.

This commit adds the WalltimeNanoseconds and BytesAllocated metrics
to meet these needs.  It is intended for manual use by clients via
setBenchmarkResult() only.

Change-Id: Ib37ada374e265c857eda02d047d51d436618e4a7
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
2012-06-21 00:58:12 +02:00
bin let default_pre add modules to the qmake path 2012-06-19 16:46:03 +02:00
config.tests clang: Do not use libstdc++ when C++11 is enabled 2012-06-19 00:39:28 +02:00
dist Record if a metatype is a smart pointer to a QObject derived. 2012-06-20 15:45:07 +02:00
doc Remove the MacMainWindow example. 2012-05-30 01:54:45 +02:00
examples Update calendarwidget example 2012-06-20 12:38:32 +02:00
lib Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
mkspecs mkspecs: Add macx-clang-libc++ and macx-clang-libc++-32 2012-06-20 15:45:07 +02:00
qmake Fixed Wince Makefile environment 2012-06-19 16:46:09 +02:00
src Add new benchmark metrics to testlib 2012-06-21 00:58:12 +02:00
tests Record if a metatype is a smart pointer to a QObject derived. 2012-06-20 15:45:07 +02:00
tools purge QMAKE_INCDIR_QT and QMAKE_LIBDIR_QT 2012-06-19 16:39:59 +02:00
util Make QUnicodeTables::script() support SMP code points 2012-06-14 05:22:13 +02:00
.gitattributes Added .tag file with Git revision. 2011-05-03 16:23:49 +02:00
.gitignore Add imports directory to ignore list 2012-04-11 01:42:12 +02:00
.tag Added .tag file with Git revision. 2011-05-03 16:23:49 +02:00
configure purge QMAKE_INCDIR_QT and QMAKE_LIBDIR_QT 2012-06-19 16:39:59 +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 detach src/src.pro and src/tools/tools.pro from qtbase.pro 2012-06-19 16:39:21 +02:00
sync.profile don't refer to removed headers 2012-06-19 16:46:04 +02:00