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.
Afficher le fichier Open project: ayende/managed-esent Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

Start() public méthode

Starts measuring ESENT work.
public Start ( ) : void
Résultat void

StartNew() public static méthode

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

Stop() public méthode

Stops measuring ESENT work.
public Stop ( ) : void
Résultat void