On 11 June 2010 20:15, Martin Sustrik <[email protected]> wrote:

> Marcin Gozdalik wrote:
>
> > Avg. us/call Elapsed Name
> > 0.064833 0.648334 clock_gettime(2/CLOCK_REALTIME)
> > 0.009635 0.096351 clock_gettime(2/CLOCK_REALTIME_COARSE)
>
> That's a pretty good performance! I wouldn't hesitate to use it in
> zmq_poll. The impact on non-Linux systems is still unknown though.
>
>
So if that's equivalent to the vsyscall then gettimeofday() should be
similar on MRG with the VDSO, and should be even faster with whatever libc
supports RDTSCP on the Nehalem.

-- 
Steve-o
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to