[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: My Benchmark (was: looking for a better idiom)
- From: Scott Vokes <vokes.s@...>
- Date: Thu, 9 Sep 2010 13:15:14 -0400
2010/9/9 J.Jørgen von Bargen <email@example.com>:
> But (at least on windows) socket.gettime() is by far not high-resolution enough
Good to know. gettime() works on BSD and Linux, and your HiResTimer
doesn't, so perhaps you could default to that when it isn't available?
I don't know of a better cross-platform option either.