Edit

EsentStopwatch members

Include protected members
Include inherited members

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 JetGetThreadStats(JET_THREADSTATS) then all ESENT statistics will be 0.

The EsentStopwatch type exposes the following members.

Constructors

  Name Description
Public method EsentStopwatch

Top

Properties

  Name Description
Public property Elapsed Gets the total elapsed time measured by the current instance.
Public property IsRunning Gets a value indicating whether the EsentStopwatch timer is running.
Public property ThreadStats Gets the total ESENT work stats measured by the current instance.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Reset Stops time interval measurement and resets the thread statistics.
Public method Start Starts measuring ESENT work.
Public methodStatic member StartNew Initializes a new EsentStopwatch instance and starts measuring elapsed time.
Public method Stop Stops measuring ESENT work.
Public method ToString Returns a String that represents the current Stopwatch. (Overrides Object.ToString().)

Top

See also

Reference

EsentStopwatch class

Microsoft.Isam.Esent.Interop namespace