diff --git a/src/corelib/thread/qthread.cpp b/src/corelib/thread/qthread.cpp index 64a6645db21..61294deee25 100644 --- a/src/corelib/thread/qthread.cpp +++ b/src/corelib/thread/qthread.cpp @@ -549,6 +549,27 @@ uint QThread::stackSize() const return d->stackSize; } +/*! + \enum QThread::QualityOfService + \since 6.9 + + This enum describes the quality of service level of a thread, and provides + the scheduler with information about the kind of work that the thread + performs. On platforms with different CPU profiles, or with the ability to + clock certain cores of a CPU down, this allows the scheduler to select or + configure a CPU core with suitable performance and energy characteristics + for the thread. + + \value Auto The default value, leaving it to the scheduler to decide which + CPU core to run the thread on. + \value High The scheduler should run this thread to a high-performance CPU + core. + \value Eco The scheduler should run this thread to an energy-efficient CPU + core. + + \sa Priority, serviceLevel() +*/ + /*! \since 6.9