Is Stopwatch.ElapsedTicks threadsafe?
From MSDN:
Any instance members are not guaranteed to be thread safe.
Looking at the source code, it is thread-safe, but you must not use: Stop()
, Reset()
and Restart()
.
So, if you start a shared instance, does not modify it and call only ElapsedXXX
properties, you should be fine.