C# 클래스 Disruptor.Collections.Histogram

Histogram for tracking the frequency of observations of values below interval upper bounds. This class is useful for recording timings in nanoseconds across a large number of observations when high performance is required.
파일 보기 프로젝트 열기: TimGebhardt/Disruptor.NET 1 사용 예제들

공개 메소드들

메소드 설명
AddObservation ( long value ) : bool
AddObservations ( Histogram histogram ) : void
CalculateMean ( ) : decimal
Clear ( ) : void
GetCountAt ( int index ) : long
GetFourNinesUpperBound ( ) : long
GetTwoNinesUpperBound ( ) : long
GetUpperBoundAt ( int index ) : long
GetUpperBoundForFactor ( double factor ) : long
Histogram ( long upperBounds ) : System
ToString ( ) : string

비공개 메소드들

메소드 설명
TrackRange ( long value ) : void
ValidateBounds ( long upperBounds ) : void

메소드 상세

AddObservation() 공개 메소드

public AddObservation ( long value ) : bool
value long
리턴 bool

AddObservations() 공개 메소드

public AddObservations ( Histogram histogram ) : void
histogram Histogram
리턴 void

CalculateMean() 공개 메소드

public CalculateMean ( ) : decimal
리턴 decimal

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

GetCountAt() 공개 메소드

public GetCountAt ( int index ) : long
index int
리턴 long

GetFourNinesUpperBound() 공개 메소드

public GetFourNinesUpperBound ( ) : long
리턴 long

GetTwoNinesUpperBound() 공개 메소드

public GetTwoNinesUpperBound ( ) : long
리턴 long

GetUpperBoundAt() 공개 메소드

public GetUpperBoundAt ( int index ) : long
index int
리턴 long

GetUpperBoundForFactor() 공개 메소드

public GetUpperBoundForFactor ( double factor ) : long
factor double
리턴 long

Histogram() 공개 메소드

public Histogram ( long upperBounds ) : System
upperBounds long
리턴 System

ToString() 공개 메소드

public ToString ( ) : string
리턴 string