A high performance timer
Namespace:
MbUnit.Core.MonitoringAssembly: MbUnit.Framework (in MbUnit.Framework.dll) Version: 2.4.2.1514 (2.4.2.1514)
Syntax
Remarks
High Precision Timer based on Win32 methods.
Examples
This example times the execution of a method:
CopyC#
TimeMonitor timer = new TimeMonitor(); timer.Start(); ... // execute code timer.Stop(); Console.WriteLine("Duration: {0}",timer.Duration);
