Will a system clock adjust affect running the stopwatch in C#?
问题 Let's say I have Stopwatch running in my code and in the middle, some other application has changed the system clock (I have Domain Time on my server syncing every second). Will it affect the stopwatch result? 回答1: No, internally Stopwatch relies on Win32 QueryPerformanceCounter() which is not tied to the system clock. 回答2: It depends. Stopwatch relies on Win32 QueryPerformanceCounter() only if it is available. This implementation is timechange tolerant. In case high-resolution counters are