summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2009-12-16 11:21:44 (GMT)
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2009-12-16 14:06:09 (GMT)
commit06034e9ab2560e777f457fedc8a8cf4380461fed (patch)
treec0ce49e6db9e5f8f9e67f0c1f4db380884b95558 /doc
parent4b815774358c3c981dc8bbbcb0dd68abe2e812f2 (diff)
downloadQt-06034e9ab2560e777f457fedc8a8cf4380461fed.zip
Qt-06034e9ab2560e777f457fedc8a8cf4380461fed.tar.gz
Qt-06034e9ab2560e777f457fedc8a8cf4380461fed.tar.bz2
Fixed events benchmark postEvent function
The postEvent function was causing problems in Symbian because it couldn't handle multiple iterations of the benchmark. - Moved event allocation inside QBENCHMARK so that each iteration will have a fresh event object. - Added resetting of the PingPong counters inside QBENCHMARK. - Used QTestEventLoop::instance().exitLoop() instead of QCoreApplication::quit() to make the cases beyond first to actually test something meaningful. - Added a "first time" case to postEvent_data, as the first time the event loop is used it takes much longer that the subsequent times, at least in Symbian, so that skewed the results. Task-number: QTBUG-6688 Reviewed-by: axis
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions