C# Class Tx.Bond.BinaryEtwObservable

Uses Tx.Windows implementation of Etw log parser and converts the objects into BinaryEnvelope objects. Use a BinaryConfigTypeMap derived implementation along with this class to convert into required datatypes.
显示文件 Open project: Reactive-Extensions/Tx Class Usage Examples

Public Methods

Method Description
BinaryMainfestFromFiles ( ) : IObservable
BinaryMainfestFromFiles ( System.DateTime startTime, System.DateTime endTime ) : IObservable
BinaryManifestFromFiles ( System.Guid providerId, bool useSequentialReader, System.DateTime startTime, System.DateTime endTime ) : IObservable
BinaryManifestFromSequentialFiles ( ) : IObservable
BinaryManifestFromSequentialFiles ( System.DateTime startTime, System.DateTime endTime ) : IObservable
FromFiles ( ) : IObservable

Takes an array of files and creates an observer that retrieves all BinaryEnvelope type events. These Events have EventId 0 and belong to EtwBinaryEventManifestProviderId

FromFiles ( System.DateTime startTime, System.DateTime endTime ) : IObservable

Takes an array of files and creates an observer that retrieves all BinaryEnvelope type events. These Events have EventId 0 and belong to EtwBinaryEventManifestProviderId

FromFiles ( Guid providerId, bool useSequentialReader, DateTime startTime, DateTime endTime ) : IObservable

Takes an array of files and creates an observer that retrieves all BinaryEnvelope type events. These Events have EventId 0, 1 and 2. and belong to specified provider.

FromSequentialFiles ( ) : IObservable
FromSequentialFiles ( DateTime startTime, DateTime endTime ) : IObservable
FromSession ( Guid providerId, string sessionName ) : IObservable

Creates a listener to ETW real-time session for BinaryEnvelope events. These Events have EventId 0, 1 and 2. and belong to specified provider.

Private Methods

Method Description
CreateEtwObservable ( bool useSequentialReader, System.DateTime startTime, System.DateTime endTime ) : IObservable

Method Details

BinaryMainfestFromFiles() public static method

public static BinaryMainfestFromFiles ( ) : IObservable
return IObservable

BinaryMainfestFromFiles() public static method

public static BinaryMainfestFromFiles ( System.DateTime startTime, System.DateTime endTime ) : IObservable
startTime System.DateTime
endTime System.DateTime
return IObservable

BinaryManifestFromFiles() public static method

public static BinaryManifestFromFiles ( System.Guid providerId, bool useSequentialReader, System.DateTime startTime, System.DateTime endTime ) : IObservable
providerId System.Guid
useSequentialReader bool
startTime System.DateTime
endTime System.DateTime
return IObservable

BinaryManifestFromSequentialFiles() public static method

public static BinaryManifestFromSequentialFiles ( ) : IObservable
return IObservable

BinaryManifestFromSequentialFiles() public static method

public static BinaryManifestFromSequentialFiles ( System.DateTime startTime, System.DateTime endTime ) : IObservable
startTime System.DateTime
endTime System.DateTime
return IObservable

FromFiles() public static method

Takes an array of files and creates an observer that retrieves all BinaryEnvelope type events. These Events have EventId 0 and belong to EtwBinaryEventManifestProviderId
public static FromFiles ( ) : IObservable
return IObservable

FromFiles() public static method

Takes an array of files and creates an observer that retrieves all BinaryEnvelope type events. These Events have EventId 0 and belong to EtwBinaryEventManifestProviderId
public static FromFiles ( System.DateTime startTime, System.DateTime endTime ) : IObservable
startTime System.DateTime Start time of sequence of events, if null then DateTime.MinValue will be used.
endTime System.DateTime End time of sequence of events, if null then DateTime.MaxValue will be used.
return IObservable

FromFiles() public static method

Takes an array of files and creates an observer that retrieves all BinaryEnvelope type events. These Events have EventId 0, 1 and 2. and belong to specified provider.
public static FromFiles ( Guid providerId, bool useSequentialReader, DateTime startTime, DateTime endTime ) : IObservable
providerId Guid Identifier of ETW provider.
useSequentialReader bool Flag to specify if the input ETL files are already ordered by timestamp.
startTime DateTime Start time of sequence of events, if null then DateTime.MinValue will be used.
endTime DateTime End time of sequence of events, if null then DateTime.MaxValue will be used.
return IObservable

FromSequentialFiles() public static method

public static FromSequentialFiles ( ) : IObservable
return IObservable

FromSequentialFiles() public static method

public static FromSequentialFiles ( DateTime startTime, DateTime endTime ) : IObservable
startTime DateTime
endTime DateTime
return IObservable

FromSession() public static method

Creates a listener to ETW real-time session for BinaryEnvelope events. These Events have EventId 0, 1 and 2. and belong to specified provider.
public static FromSession ( Guid providerId, string sessionName ) : IObservable
providerId Guid Identifier of ETW provider.
sessionName string Session name.
return IObservable