My experience with Go on Windows is that the resolution on the time package in the standard library is 1ms.
Max posted an interesting way to improve this to about 550ns for duration measurements using some special Windows calls. Check his sample code at https://play.golang.org/p/Q2BbWz0sU1.
John
John Souvestre - New Orleans LA
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.