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.
Показать файл Открыть проект

Открытые методы

Метод Описание
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