-
Notifications
You must be signed in to change notification settings - Fork 35
T_CodeJam_PerfTests_Running_Limits_CompetitionLimit
andrewvk edited this page Nov 8, 2016
·
2 revisions
Class that describes limits for benchmarks participating in competition.
System.Object
CodeJam.PerfTests.Running.Limits.CompetitionLimit
Namespace: CodeJam.PerfTests.Running.Limits
Assembly: CodeJam.PerfTests (in CodeJam.PerfTests.dll) Version: 1.1.0.0 (1.1.0.0)
C#
public class CompetitionLimit
VB
Public Class CompetitionLimit
F#
type CompetitionLimit = class end
The CompetitionLimit type exposes the following members.
Name | Description | |
---|---|---|
CompetitionLimit | Initializes a new instance of the CompetitionLimit class. |
Name | Description | |
---|---|---|
IgnoreAll | All limits are ignored. | |
IgnoreMaxRatio | The maximum timing ratio limit is ignored. | |
IgnoreMinRatio | The minimum timing ratio limit is ignored. | |
IsEmpty | All limits are empty. | |
MaxRatio | The maximum timing ratio relative to the baseline. | |
MaxRatioRounded | The maximum timing ratio (rounded, two digits). | |
MaxRatioText | The string representation of maximum timing ratio limit. | |
MinRatio | The minimum timing ratio relative to the baseline. | |
MinRatioRounded | The minimum timing ratio (rounded, two digits). | |
MinRatioText | The string representation of minimum timing ratio limit. |
Name | Description | |
---|---|---|
CheckLimitsFor | Checks if actual values fits into limits represented by this instance. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsMaxLimitOk | Helper method for checking the value against max limit. | |
IsMinLimitOk | Helper method for checking the value against min limit. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ShouldBeUpdatedMax | Helper method for checking before extending the max limit. IMPORTANT: DO NOT replace with call to IsMaxLimitOk(Double, Double). Implementation may change in the future. | |
ShouldBeUpdatedMin | Helper method for checking before extending the min limit. IMPORTANT: DO NOT replace with call to IsMinLimitOk(Double, Double). Implementation may change in the future. | |
ToString | Returns a String that represents this instance. (Overrides Object.ToString().) |
Name | Description | |
---|---|---|
Empty | The empty competition limit. | |
EmptyValue | Empty value for the competition limit. | |
Ignored | The ignored (will not be checked) competition limit. | |
IgnoreValue | Ignored value for the competition limit.. |