| CMakeLists.txt |
|
1532 |
- |
| doc |
|
|
- |
| qtaskbuilder.h |
|
3538 |
- |
| qtaskbuilder.qdoc |
|
2845 |
- |
| qtconcurrent_global.h |
|
353 |
- |
| qtconcurrentcompilertest.h |
|
1115 |
- |
| qtconcurrentfilter.cpp |
|
38186 |
- |
| qtconcurrentfilter.h |
|
37208 |
- |
| qtconcurrentfilterkernel.h |
|
15285 |
- |
| qtconcurrentfunctionwrappers.h |
|
4964 |
- |
| qtconcurrentiteratekernel.cpp |
!
\class QtConcurrent::Median
\inmodule QtConcurrent
\internal
|
2723 |
- |
| qtconcurrentiteratekernel.h |
The BlockSizeManager class manages how many iterations a thread should
reserve and process at a time. This is done by measuring the time spent
in the user code versus the control part code, and then increasing
the block size if the ratio between them is to small. The block size
management is done on the basis of the median of several timing measurements,
and it is done individually for each thread.
|
9895 |
- |
| qtconcurrentmap.cpp |
!
\namespace QtConcurrent
\inmodule QtConcurrent
\since 4.4
\brief The QtConcurrent namespace provides high-level APIs that make it
possible to write multi-threaded programs without using low-level
threading primitives.
See the \l {Qt Concurrent} module documentation for an overview of available
functions, or see below for detailed information on each function.
\section1 Optimize includes
If you include the \c <QtConcurrent> header, the entire Qt Concurrent
module with the entire Qt Core module will be included, which may increase
compilation times and binary sizes. To use individual functions from the
QtConcurrent namespace, you can include more specific headers.
The table below lists the functions in the QtConcurrent namespace and
their corresponding headers:
\table
\header
\li Function
\li Header
\row
\li \l {QtConcurrent::run}{QtConcurrent::run()}
\li \c <QtConcurrentRun>
\row
\li \l {QtConcurrent::task}{QtConcurrent::task()}
\li \c <QtConcurrentTask>
\row
\li \l {QtConcurrent::filter}{QtConcurrent::filter()},
\l {QtConcurrent::filtered}{QtConcurrent::filtered()},
\l {QtConcurrent::filteredReduced}{QtConcurrent::filteredReduced()}
\li \c <QtConcurrentFilter>
\row
\li \l {QtConcurrent::map}{QtConcurrent::map()},
\l {QtConcurrent::mapped}{QtConcurrent::mapped()},
\l {QtConcurrent::mappedReduced}{QtConcurrent::mappedReduced()}
\li \c <QtConcurrentMap>
\endtable
\inheaderfile QtConcurrent
\ingroup thread
|
37172 |
- |
| qtconcurrentmap.h |
|
41141 |
- |
| qtconcurrentmapkernel.h |
|
13932 |
- |
| qtconcurrentmedian.h |
|
2090 |
- |
| qtconcurrentreducekernel.h |
The ReduceQueueStartLimit and ReduceQueueThrottleLimit constants
limit the reduce queue size for MapReduce. When the number of
reduce blocks in the queue exceeds ReduceQueueStartLimit,
MapReduce won't start any new threads, and when it exceeds
ReduceQueueThrottleLimit running threads will be stopped.
|
7007 |
- |
| qtconcurrentrun.cpp |
|
11523 |
- |
| qtconcurrentrun.h |
|
2738 |
- |
| qtconcurrentrunbase.h |
|
2505 |
- |
| qtconcurrentstoredfunctioncall.h |
|
8501 |
- |
| qtconcurrenttask.h |
|
814 |
- |
| qtconcurrenttask.qdoc |
|
5953 |
- |
| qtconcurrentthreadengine.cpp |
!
\class QtConcurrent::ThreadEngineBarrier
\inmodule QtConcurrent
\internal
|
6901 |
- |
| qtconcurrentthreadengine.h |
|
6348 |
- |