summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qglobal.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2016-06-06 06:30:41 -0500
committerThiago Macieira <thiago.macieira@intel.com>2016-09-15 19:43:57 +0000
commitb630a4513c3023d0217c53638841bd06d1deda42 (patch)
treebadbf4de6b709b1dc691a9eb681e7bf6cec9d863 /src/corelib/global/qglobal.cpp
parentec770a85305c40ba182bdc67dddcf412facbfb74 (diff)
QtConcurrent: use QDeadlineTimer to get the clock tick
Instead of duplicating what QElapsedTimer & QDeadlineTimer already do. Well, technically speaking, we aren't getting ticks, but nanoseconds now, but the times are only used in comparisons with each other, to measure the control overhead, so the unit in which they are measured doesn't matter. This also makes all OSes use the same type of timers. There's no exception for per-thread timing. Change-Id: I115db302eb114bed8cd1fffd14557b228284f2c0 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/corelib/global/qglobal.cpp')
0 files changed, 0 insertions, 0 deletions