changeset 37 | 758a864f9613 |
parent 33 | 3e2da88830cd |
--- a/src/testlib/qbenchmarkmeasurement_p.h Fri Sep 17 08:34:18 2010 +0300 +++ b/src/testlib/qbenchmarkmeasurement_p.h Mon Oct 04 01:19:32 2010 +0300 @@ -53,7 +53,7 @@ // We mean it. // -#include <QtCore/qdatetime.h> +#include <QtCore/qelapsedtimer.h> #include "3rdparty/cycle_p.h" #include "qbenchmark.h" @@ -87,7 +87,7 @@ bool needsWarmupIteration(); QTest::QBenchmarkMetric metricType(); private: - QTime time; + QElapsedTimer time; }; #ifdef HAVE_TICK_COUNTER // defined in 3rdparty/cycle_p.h