diff options
author | Milian Wolff <milian.wolff@kdab.com> | 2016-08-02 13:25:35 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2016-10-05 15:49:12 +0000 |
commit | 59e48836e207aff52b2727cc4f3733209475e8bb (patch) | |
tree | 01f5c668eef291b1f790d34d6c44d36d4ca4899d /src/qml/jit/qv4isel_masm_p.h | |
parent | 9182797dec1897cda4e2e0368a16ddbd5c18b031 (diff) |
Use QElapsedTimer instead of QTime to measure elapsed time
Getting the current time from QTime is expensive as it adheres
to the locale timezone. To measure elapsed time in a code block,
using the monotonic QElapsedTimer is much faster.
Change-Id: Ibea390d7bc5270a20cf35111dfc919e37be7001e
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jit/qv4isel_masm_p.h')
0 files changed, 0 insertions, 0 deletions