I'm trying to create a Stopwatch that starts with Nanoseconds.
I can already run a Clock with milliseconds but I want to start from zero like a stopwatch. Thanks for helping my time project.
Printable View
I'm trying to create a Stopwatch that starts with Nanoseconds.
I can already run a Clock with milliseconds but I want to start from zero like a stopwatch. Thanks for helping my time project.
Do need a high precision timer? If so, see this http://www.devx.com/vb2themax/Tip/18482
See High Precision Event Timer which explains the problems with the approach advocated at that link above.
On most systems even when it works you get at best 100 nanosecond resolution.
Then you have to consider how Windows actually works. You are never going to get what is being asked for.