[zeromq-dev] zmq::poll timeout returns immediately on MacOS/X 10.5
gozdal at gmail.com
Fri Jun 11 15:14:08 CEST 2010
2010/6/11 Martin Sustrik <sustrik at 250bpm.com>
> 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.
And on different processors it varies wildly. You'd need a benchmark during
the build process (as ex. GMP does with different multiplications
procedures) to select the best method.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the zeromq-dev