Skip to content

T_CodeJam_PerfTests_Running_Limits_CompetitionLimit

andrewvk edited this page Nov 8, 2016 · 2 revisions

CompetitionLimit Class

Class that describes limits for benchmarks participating in competition.

Inheritance Hierarchy

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)

Syntax

C#

public class CompetitionLimit

VB

Public Class CompetitionLimit

F#

type CompetitionLimit =  class end

The CompetitionLimit type exposes the following members.

Constructors

 

Name Description
Public method CompetitionLimit Initializes a new instance of the CompetitionLimit class.
  Back to Top

Properties

 

Name Description
Public property IgnoreAll All limits are ignored.
Public property IgnoreMaxRatio The maximum timing ratio limit is ignored.
Public property IgnoreMinRatio The minimum timing ratio limit is ignored.
Public property IsEmpty All limits are empty.
Public property MaxRatio The maximum timing ratio relative to the baseline.
Public property MaxRatioRounded The maximum timing ratio (rounded, two digits).
Public property MaxRatioText The string representation of maximum timing ratio limit.
Public property MinRatio The minimum timing ratio relative to the baseline.
Public property MinRatioRounded The minimum timing ratio (rounded, two digits).
Public property MinRatioText The string representation of minimum timing ratio limit.
  Back to Top

Methods

 

Name Description
Public method CheckLimitsFor Checks if actual values fits into limits represented by this instance.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected methodStatic member IsMaxLimitOk Helper method for checking the value against max limit.
Protected methodStatic member IsMinLimitOk Helper method for checking the value against min limit.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected methodStatic member 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.
Protected methodStatic member 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.
Public method ToString Returns a String that represents this instance. (Overrides Object.ToString().)
  Back to Top

Fields

 

Name Description
Public fieldStatic member Empty The empty competition limit.
Public fieldStatic member EmptyValue Empty value for the competition limit.
Public fieldStatic member Ignored The ignored (will not be checked) competition limit.
Public fieldStatic member IgnoreValue Ignored value for the competition limit..
  Back to Top

See Also

Reference

CodeJam.PerfTests.Running.Limits Namespace

Clone this wiki locally