JobObjectCpuRateControlMode Enum

Identifies which CPU rate control policy is active for a job object.

public enum JobObjectCpuRateControlMode

Remarks

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

NameValueDescription
Disabled0CPU rate control is not enabled for the job.
HardCap1The job is capped at a fixed portion of processor cycles, reported by JobObjectCpuHardCap.Rate.
Weight2The job's share of processor time is derived from its weight relative to other jobs, reported by JobObjectCpuHardCap.Weight.
MinMaxRate3The job is confined to a range of processor cycles, reported by JobObjectCpuHardCap.MinRate and JobObjectCpuHardCap.MaxRate.