Sorry, it is always true! Edited...
I've just realised that Stopwatch.IsHighResolution returns false in my machine. Why? What is needed to it return true? What kind of hardware? MSDN do not say much about that.
Machine config: Win 7 x64; i7 930; 3x2 GB (tripple chanel); HD 500 GB 7200 RPM; Energy config CPU @ 100%
as requested: VS 2010; .NET 4.0; Win form application; debug mode (I will test in release now)
In release mode it returns true! :) well, sorry folks, actualy it is always true (debug and release).
It could be that you don't have permissions for the high-resolution performance counters or that your hardware doesn't have that feature to back the high-resolution performance counters.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With