PROCESS_ENERGY_VALUES_QOS_INDEX - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTEXAPI_H

/**
 * The PROCESS_ENERGY_VALUES_QOS_INDEX type represents the QoS (Quality of Service) /
 * thread-context bucket used as the first index of the Cycles, AttributedCycles, and
 * WorkOnBehalfCycles arrays in PROCESS_ENERGY_VALUES.
 */
typedef enum _PROCESS_ENERGY_VALUES_QOS_INDEX
{
    // Foreground / High QoS — threads running at foreground or high quality-of-service priority.
    ProcessEnergyValuesQoSHighForeground = 0,
    // Above-normal — threads running at above-normal priority.
    ProcessEnergyValuesQoSAboveNormal = 1,
    // Normal — threads running at normal priority.
    ProcessEnergyValuesQoSNormal = 2,
    // Background / Low QoS — threads running at background or low quality-of-service priority.
    ProcessEnergyValuesQoSLowBackground = 3,
    // The maximum number of QoS buckets.
    ProcessEnergyValuesQoSMax = 4
} PROCESS_ENERGY_VALUES_QOS_INDEX, *PPROCESS_ENERGY_VALUES_QOS_INDEX;

#endif

View code on GitHub

NtDoc

No description available.