QThread: document the QualityOfService enum
It's new in Qt 6.9, and used in the setter and getter APIs. Change-Id: Iefdd7d9256f8c4b465416967b8bdd71e9bb5941c Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
parent
54c2d6ded7
commit
9bb9016b80
@ -549,6 +549,27 @@ uint QThread::stackSize() const
|
|||||||
return d->stackSize;
|
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
|
\since 6.9
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user