summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/sqldatabase/sqldatabase.pro
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2010-10-01 08:21:10 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2010-12-20 15:49:54 (GMT)
commit6c1180505a0ac55bfd0eac87c2a61103a8fdec14 (patch)
treea1967610204ebefeaa7f5884cabd3e6daeaf125a /doc/src/snippets/sqldatabase/sqldatabase.pro
parent3b6a84de5c5ed2e1970ad2b396292babb9173227 (diff)
downloadQt-6c1180505a0ac55bfd0eac87c2a61103a8fdec14.zip
Qt-6c1180505a0ac55bfd0eac87c2a61103a8fdec14.tar.gz
Qt-6c1180505a0ac55bfd0eac87c2a61103a8fdec14.tar.bz2
Store and track spin times in nanosecond resolution
Use the new QElapsedTimer::nsecsElapsed() and store all values in qint64 instead of int. The maximum spin time threshold is now 1000000ns, or 1ms. Spinning for longer than 1ms is just a waste of time, CPU, and battery. Reviewed-by: joao
Diffstat (limited to 'doc/src/snippets/sqldatabase/sqldatabase.pro')
0 files changed, 0 insertions, 0 deletions