C# Class HdrHistogram.Examples.RecorderExample

A simple example of using HdrHistogram's Recorder: 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.
Inheritance: IDisposable
Afficher le fichier Open project: HdrHistogram/HdrHistogram.NET

Méthodes publiques

Méthode Description
Dispose ( ) : void
RecorderExample ( ) : System
Run ( ) : void

Private Methods

Méthode Description
HasRunBeenCalled ( ) : bool
RecordMeasurements ( IRecorder recorder ) : void

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

WriteToDisk ( Recorder recorder ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

RecorderExample() public méthode

public RecorderExample ( ) : System
Résultat System

Run() public méthode

public Run ( ) : void
Résultat void