diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2009-12-16 11:21:44 (GMT) |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2009-12-16 14:06:09 (GMT) |
commit | 06034e9ab2560e777f457fedc8a8cf4380461fed (patch) | |
tree | c0ce49e6db9e5f8f9e67f0c1f4db380884b95558 /lib/fonts/c0583bt_.pfb | |
parent | 4b815774358c3c981dc8bbbcb0dd68abe2e812f2 (diff) | |
download | Qt-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 'lib/fonts/c0583bt_.pfb')
0 files changed, 0 insertions, 0 deletions