From 028def2ada208b16d308765febcd64874b779c11 Mon Sep 17 00:00:00 2001 From: David Faure Date: Mon, 19 Aug 2013 10:41:50 +0200 Subject: 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 --- tests/benchmarks/corelib/thread/thread.pro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/benchmarks/corelib/thread/thread.pro') 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 \ -- cgit v1.2.3