C# Класс HdrHistogram.HistogramLogReader

Reads a log of Histograms from the provided Stream.
Наследование: IDisposable, IHistogramLogV1Reader
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetStartTime ( ) : System.DateTime

Gets the start time for the set of Histograms.

The current implementation requires the consumer to only use this after enumerating the Histograms from the ReadHistograms() method.

HistogramLogReader ( Stream inputStream ) : System

Creates a HistogramLogReader that reads from the provided Stream.

Read ( Stream inputStream ) : IEnumerable

Reads each histogram out from the underlying stream.

ReadHistograms ( ) : IEnumerable

Reads each histogram out from the underlying stream.

Приватные методы

Метод Описание
DecodeHistogram ( ByteBuffer buffer, long minBarForHighestTrackableValue ) : HistogramBase
IHistogramLogV1Reader ( ) : IEnumerable
IsBaseTime ( string line ) : bool
IsComment ( string line ) : bool
IsLegend ( string line ) : bool
IsStartTime ( string line ) : bool
IsV1Legend ( string line ) : bool
ParseBaseTime ( string line ) : double
ParseDouble ( Match match, string group ) : double
ParseStartTime ( string line ) : double
ParseTag ( string value ) : string
ReadLines ( ) : IEnumerable

Описание методов

Dispose() публичный Метод

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

GetStartTime() публичный Метод

Gets the start time for the set of Histograms.
The current implementation requires the consumer to only use this after enumerating the Histograms from the ReadHistograms() method.
public GetStartTime ( ) : System.DateTime
Результат System.DateTime

HistogramLogReader() публичный Метод

Creates a HistogramLogReader that reads from the provided Stream.
public HistogramLogReader ( Stream inputStream ) : System
inputStream Stream The to read from.
Результат System

Read() публичный статический Метод

Reads each histogram out from the underlying stream.
public static Read ( Stream inputStream ) : IEnumerable
inputStream Stream The to read from.
Результат IEnumerable

ReadHistograms() публичный Метод

Reads each histogram out from the underlying stream.
public ReadHistograms ( ) : IEnumerable
Результат IEnumerable