J.D. Meier's Blog

Software Engineering, Project Management, and Effectiveness

Timing Managed Code in .NET 2.0

Timing Managed Code in .NET 2.0

  • Comments 5

In .NET 1.1, we timed managed code by wrapping QueryPerformanceCounter and QueryPerformanceFrequency.  The following How To shows how:

In .NET 2.0, you can use the Stopwatch Class.  I found the following references useful:

  • FYI, anyone looking for it on the .NET Compact Framework will have to write their own or use the one on my blog.

  • Good infomation on Performance  counters , Thanks

  • Thanks. That was was very useful.

  • Hi! I used information from that site its great.

    Bye.

  • It was one of those perfect English autumnal days which occur more frequently in memory than in life

Page 1 of 1 (5 items)