Show / Hide Table of Contents

Class CpuWeightedRateLimit

Defines a weighted CPU rate.

Inheritance
System.Object
CpuLimit
CpuCappable
CpuWeightedRateLimit
Inherited Members
CpuCappable.HardLimit
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Fs.Processes.JobObjects
Assembly: Fs.Processes.dll
Syntax
public sealed class CpuWeightedRateLimit : CpuCappable

Constructors

| Improve this Doc View Source

CpuWeightedRateLimit(Int32, Boolean)

Creates an instance of CpuWeightedRateLimit.

Declaration
public CpuWeightedRateLimit(int weight, bool isHardLimit)
Parameters
Type Name Description
System.Int32 weight

The weight associated with the job.

System.Boolean isHardLimit

When true, the threads in the job are prevented from running until the next measurement cycle when the CPU usage exceeds the job's weighted CPU rate.

Properties

| Improve this Doc View Source

Weight

Gets the weighted value of the CPU rate.

Declaration
public int Weight { get; }
Property Value
Type Description
System.Int32
  • Improve this Doc
  • View Source
Back to top Generated by DocFX