![]() |
Qt 6.x
The Qt SDK
|
\inmodule QtConcurrent More...
#include <qtconcurrentreducekernel.h>
Public Member Functions | |
ReduceKernel (QThreadPool *pool, ReduceOptions _reduceOptions) | |
void | runReduce (ReduceFunctor &reduce, ReduceResultType &r, const IntermediateResults< T > &result) |
void | finish (ReduceFunctor &reduce, ReduceResultType &r) |
bool | shouldThrottle () |
bool | shouldStartThread () |
\inmodule QtConcurrent
Definition at line 78 of file qtconcurrentreducekernel.h.
|
inline |
Definition at line 118 of file qtconcurrentreducekernel.h.
|
inline |
Definition at line 183 of file qtconcurrentreducekernel.h.
Referenced by QtConcurrent::FilterKernel< Sequence, KeepFunctor, ReduceFunctor >::finish().
|
inline |
Definition at line 123 of file qtconcurrentreducekernel.h.
References QMap< Key, T >::begin(), QSet< T >::begin(), QMap< Key, T >::clear(), QMap< Key, T >::end(), QSet< T >::end(), QMap< Key, T >::erase(), QMap< Key, T >::insert(), QMap< Key, T >::isEmpty(), it, mutex, QMap< Key, T >::size(), and QtConcurrent::UnorderedReduce.
Referenced by QtConcurrent::FilterKernel< Sequence, KeepFunctor, ReduceFunctor >::runIteration(), and QtConcurrent::FilterKernel< Sequence, KeepFunctor, ReduceFunctor >::runIterations().
|
inline |
Definition at line 194 of file qtconcurrentreducekernel.h.
References mutex, and QtConcurrent::ReduceQueueStartLimit.
Referenced by QtConcurrent::FilterKernel< Sequence, KeepFunctor, ReduceFunctor >::shouldStartThread().
|
inline |
Definition at line 188 of file qtconcurrentreducekernel.h.
References mutex, and QtConcurrent::ReduceQueueThrottleLimit.
Referenced by QtConcurrent::FilterKernel< Sequence, KeepFunctor, ReduceFunctor >::shouldThrottleThread().