| 8/11/2006
MeasureExecutionTimeWithTheVisualBasic2005StopwatchClass.zip
The Stopwatch class provides a set of
methods and properties that you can use to accurately measure
elapsed time. Although its not a complete profiling solution it is
very useful for things like quickly measuring code execution time.
A Stopwatch instance can measure
elapsed time for one interval, or the total of elapsed time across
multiple intervals.
Click the link above to download Visual
Basic source code in a Visual Studio 2005 solution which
demonstrates how to use the Stopwatch class to measure execution
time for two methods.
For more information visit the
Stopwatch Class article on Microsoft's MSDN2 web site.
Get Dot Net Code is a web site full of
free and pay for use Visual Basic source code for Visual Basic
programmers. |