stopwatch accuracy

Posted by oo on Stack Overflow See other posts from Stack Overflow or by oo
Published on 2008-12-26T17:27:12Z Indexed on 2010/03/18 10:21 UTC
Read the original article Hit count: 417

Filed under:
|
|

How accurate is System.Diagnostics.Stopwatch? I am trying to do some metrics for different code paths and I need it to be exact. Should I be using stopwatch or is there another solution that is more accurate.

I have been told that sometimes stopwatch gives incorrect information.

© Stack Overflow or respective owner

Related posts about c#

Related posts about Performance