C# 클래스 HdrHistogram.Examples.SimpleHistogramExample

A simple example of using HdrHistogram: run for 20 seconds collecting the time it takes to perform a simple Datagram Socket create/close operation, and report a histogram of the times at the end.
파일 보기 프로젝트 열기: HdrHistogram/HdrHistogram.NET

공개 메소드들

메소드 설명
Run ( ) : void

비공개 메소드들

메소드 설명
CreateAndCloseDatagramSocket ( ) : void
GetAddressFamily ( string url ) : AddressFamily
OutputMeasurements ( ) : void

Write to the console the memory footprint of the histogram instance and the percentile distribution of all the recorded values.

RecordMeasurements ( ) : void

Shows a sample loop where an action is executed, and the latency of each execution is recorded.

메소드 상세

Run() 공개 정적인 메소드

public static Run ( ) : void
리턴 void