aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorMilian Wolff <milian.wolff@kdab.com>2016-08-02 13:25:35 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2016-10-05 15:49:12 +0000
commit59e48836e207aff52b2727cc4f3733209475e8bb (patch)
tree01f5c668eef291b1f790d34d6c44d36d4ca4899d /src/plugins
parent9182797dec1897cda4e2e0368a16ddbd5c18b031 (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/plugins')
0 files changed, 0 insertions, 0 deletions