summaryrefslogtreecommitdiffstats
path: root/tests/auto/qdbusperformance
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2011-02-03 18:26:36 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2011-02-06 19:23:16 (GMT)
commitc696b4fe5a0acd85bc739fb148b8f76965f12d20 (patch)
treeaa1cfa538b91d1740f7619f31b3d8a4bc284a323 /tests/auto/qdbusperformance
parentaa8d84efdc8e7dd26f36a3586050458d7be0c279 (diff)
downloadQt-c696b4fe5a0acd85bc739fb148b8f76965f12d20.zip
Qt-c696b4fe5a0acd85bc739fb148b8f76965f12d20.tar.gz
Qt-c696b4fe5a0acd85bc739fb148b8f76965f12d20.tar.bz2
Autotest: Use QElapsedTimer for timings
Diffstat (limited to 'tests/auto/qdbusperformance')
-rw-r--r--tests/auto/qdbusperformance/tst_qdbusperformance.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qdbusperformance/tst_qdbusperformance.cpp b/tests/auto/qdbusperformance/tst_qdbusperformance.cpp
index 42db697..a5b4b98 100644
--- a/tests/auto/qdbusperformance/tst_qdbusperformance.cpp
+++ b/tests/auto/qdbusperformance/tst_qdbusperformance.cpp
@@ -125,7 +125,7 @@ void tst_QDBusPerformance::init()
void tst_QDBusPerformance::callSpeed()
{
- QTime timer;
+ QElapsedTimer timer;
int callCount = 0;
timer.start();
@@ -141,7 +141,7 @@ void tst_QDBusPerformance::callSpeed()
bool tst_QDBusPerformance::executeTest(const char *funcname, int size, const QVariant &data)
{
- QTime timer;
+ QElapsedTimer timer;
int callCount = 0;
qint64 transferred = 0;