summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/corelib/thread/thread.pro
diff options
context:
space:
mode:
authorDavid Faure <david.faure@kdab.com>2013-08-19 10:41:50 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-21 23:50:23 +0200
commit028def2ada208b16d308765febcd64874b779c11 (patch)
tree3f2d8a9e3738b14e321b4a891d2b3b8cbc0b26f0 /tests/benchmarks/corelib/thread/thread.pro
parent683451e7c74d23abb0268a187d28cf7dc7afd032 (diff)
Add benchmark for QThreadPool.
The current question is whether activeThreadCount() should be lock-free (using atomic ints) or mutex-protected, so this tests start() and activeThreadCount() directly. Change-Id: Ica4a2ad023c2002e3c7d81558e6b9ee64af7f690 Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'tests/benchmarks/corelib/thread/thread.pro')
-rw-r--r--tests/benchmarks/corelib/thread/thread.pro3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/benchmarks/corelib/thread/thread.pro b/tests/benchmarks/corelib/thread/thread.pro
index 2affee5287..d7f65a911d 100644
--- a/tests/benchmarks/corelib/thread/thread.pro
+++ b/tests/benchmarks/corelib/thread/thread.pro
@@ -1,4 +1,5 @@
TEMPLATE = subdirs
SUBDIRS = \
qmutex \
- qthreadstorage
+ qthreadstorage \
+ qthreadpool \