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.

No Comments