StopWatch Class

CVB.Net Documentation
Speed measurement object with selectable accuracy, based on the functions exported by the CVCUtilities.dll.
Inheritance Hierarchy

SystemObject
  Stemmer.Cvb.UtilitiesStopWatch

Namespace:  Stemmer.Cvb.Utilities
Assembly:  Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax

public class StopWatch : IDisposable

The StopWatch type exposes the following members.

Constructors

  NameDescription
Public methodStopWatch
Create a StopWatch object with default initialization (MultiCPU mode).
Public methodStopWatch(StopWatchMode)
Create a StopWatch object.
Top
Properties

  NameDescription
Public propertyMode
Mode for which the StopWatch was created.
Public propertyTimeSpan
Gets the time, that has elapsed since Start was last called (or since the construction of the Stopwatch object if Start has not been called yet).
Top
Methods

  NameDescription
Public methodDispose
Dispose method.
Protected methodDispose(Boolean)
Disposes the native object.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Finalizer.
(Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStart
Start (or re-start) the stopwatch. This will reset the TimeSpan property to 0.0. All subsequent readouts of the TimeSpan property will give the time in milliseconds, that has elapsed since the last call to Start or since the construction of the Stopwatch object.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference