Speed measurement object with selectable accuracy, based on the functions exported by the CVCUtilities.dll. More...
Inherits IDisposable.
Public Types | |
enum | AccuracyLevel { Unknown = 0 , Normal = 1 , High = 2 } |
Relative accuracy level at which the stop watch works. More... | |
Public Member Functions | |
StopWatch () | |
Create a StopWatch object with default initialization (MultiCPU mode). | |
StopWatch (StopWatchMode mode) | |
Create a StopWatch object. More... | |
void | Start () |
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. | |
void | Dispose () |
Dispose method. | |
Protected Member Functions | |
virtual void | Dispose (bool disposing) |
Disposes the native object. More... | |
Properties | |
UsTimeSpan | TimeSpan [get] |
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). More... | |
StopWatchMode | Mode [get] |
Mode for which the StopWatch was created. | |
Speed measurement object with selectable accuracy, based on the functions exported by the CVCUtilities.dll.
enum AccuracyLevel |
StopWatch | ( | StopWatchMode | mode | ) |
Create a StopWatch object.
mode | Mode to create the stopwatch object for. |
InsufficientMemoryException | If the stopwatch cannot be created due to an out of memory situation |
|
protectedvirtual |
Disposes the native object.
disposing | true if called from IDisposable interface; false if called from finalizer. |
|
get |