JobObjectCpuRateControlMode Enum
Identifies which CPU rate control policy is active for a job object.
public enum JobObjectCpuRateControlModeRemarks
The policy determines which member of JobObjectCpuHardCap carries a meaningful value. Windows stores those values in a union, so reading the wrong one yields an unrelated number rather than an error.
Fields
| Name | Value | Description |
|---|---|---|
Disabled | 0 | CPU rate control is not enabled for the job. |
HardCap | 1 | The job is capped at a fixed portion of processor cycles, reported by JobObjectCpuHardCap.Rate. |
Weight | 2 | The job's share of processor time is derived from its weight relative to other jobs, reported by JobObjectCpuHardCap.Weight. |
MinMaxRate | 3 | The job is confined to a range of processor cycles, reported by JobObjectCpuHardCap.MinRate and JobObjectCpuHardCap.MaxRate. |