in

ASP.NET Weblogs

Matthew ".NET 247" Reynolds

Matthew Reynolds... software development consultant, author, speaker and trainer

High resolution timer

Windows' basic timing APIs tend to be inaccurate - sometimes by up to 15ms or so.  Peter Bromberg has an article on Egg Head Cafe on High Precision Code Timing in .NET.  The article includes a simple class that uses Windows' performance monitoring APIs to create a super accurate timer.

Comments

No Comments

Leave a Comment

(required)  
(optional)
(required)  
Add