C# 클래스 HdrHistogram.HistogramLogReader

Reads a log of Histograms from the provided Stream.
상속: IDisposable, IHistogramLogV1Reader
파일 보기 프로젝트 열기: HdrHistogram/HdrHistogram.NET 1 사용 예제들

공개 메소드들

메소드 설명
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