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:22:10 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2010-12-20 15:50:00 (GMT)
commit44cf2baeb07bf48270a6a41c8f1433517130ba01 (patch)
treeef140f11db30e1bc8c1efd182e937e5287c3351d /doc/src/snippets/sqldatabase/sqldatabase.pro
parent6c1180505a0ac55bfd0eac87c2a61103a8fdec14 (diff)
downloadQt-44cf2baeb07bf48270a6a41c8f1433517130ba01.zip
Qt-44cf2baeb07bf48270a6a41c8f1433517130ba01.tar.gz
Qt-44cf2baeb07bf48270a6a41c8f1433517130ba01.tar.bz2
Track average wait times under our maximum spin time threshold
Further observation shows that spin times slightly over the average wait time produce the best results. This change keeps a heavily weighted average of the wait times under 1.5ms (1.5 times the max spin threshold), and adjusts the spin time to be 150% of the average wait time. Introduce spin time adjustments when spin locking works, and adjust to between 150% of the average wait time and the maximum threshold. Reviewed-by: joao
Diffstat (limited to 'doc/src/snippets/sqldatabase/sqldatabase.pro')
0 files changed, 0 insertions, 0 deletions