Show / Hide Table of Contents

Class CpuRateLimit

Limits the CPU rate based on a fixed percentage.

Inheritance
System.Object
CpuLimit
CpuCappable
CpuRateLimit
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 CpuRateLimit : CpuCappable

Constructors

| Improve this Doc View Source

CpuRateLimit(Decimal, Boolean)

Creates and instance of CpuRateLimit.

Declaration
public CpuRateLimit(decimal percentageRate, bool isHardLimit)
Parameters
Type Name Description
System.Decimal percentageRate

A percentage (that is greater than 0 and less than or equal to 100) of the overall system CPU that the job is allowed to use.

System.Boolean isHardLimit

When true, threads in the job are not allowed to run until the next measurement interval when the percentageRate is exceeded.

Properties

| Improve this Doc View Source

Rate

Gets the percentage of the overall system CPU time the job is allowed to use.

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