C# Class Microsoft.Isam.Esent.Interop.EsentStopwatch

Provides a set of methods and properties that you can use to measure ESENT work statistics for a thread. If the current version of ESENT doesn't support VistaApi.JetGetThreadStats then all ESENT statistics will be 0.
显示文件 Open project: ayende/managed-esent Class Usage Examples

Public Methods

Method Description
Reset ( ) : void

Stops time interval measurement and resets the thread statistics.

Start ( ) : void

Starts measuring ESENT work.

StartNew ( ) : EsentStopwatch

Initializes a new EsentStopwatch instance and starts measuring elapsed time.

Stop ( ) : void

Stops measuring ESENT work.

Method Details

Reset() public method

Stops time interval measurement and resets the thread statistics.
public Reset ( ) : void
return void

Start() public method

Starts measuring ESENT work.
public Start ( ) : void
return void

StartNew() public static method

Initializes a new EsentStopwatch instance and starts measuring elapsed time.
public static StartNew ( ) : EsentStopwatch
return EsentStopwatch

Stop() public method

Stops measuring ESENT work.
public Stop ( ) : void
return void