Skip to main content

Crate ohos_qos_sys

Crate ohos_qos_sys 

Source

Constants§

QoS_Level_QOS_BACKGROUND
@brief Means the QoS level is background.
QoS_Level_QOS_DEADLINE_REQUEST
@brief Means the QoS level is user-request.
QoS_Level_QOS_DEFAULT
@brief Means the QoS level is default.
QoS_Level_QOS_USER_INITIATED
@brief Means the QoS level is user-initiated.
QoS_Level_QOS_USER_INTERACTIVE
@brief Means the QoS level is user-interactive.
QoS_Level_QOS_UTILITY
@brief Means the QoS level is utility.

Functions§

OH_QoS_GetThreadQoS
@brief Obtains the QoS level of the current thread.
OH_QoS_ResetThreadQoS
@brief Cancel the QoS level of the current thread.
OH_QoS_SetThreadQoS
@brief Set the QoS level of the current thread.

Type Aliases§

QoS_Level
@brief Describes the level of QoS.