[Eventmachine-talk] Ruby I/O

Francis Cianfrocca
Tue, 13 Mar 2007 08:45:50 -0000

On 3/13/07, Thomas Ptacek <tqbf at matasano.com>
wrote:
>
>
> The gettimeofday stuff is a problem. Every high-speed project I''ve
> worked on has replaced gettimeofday; it''s a drag on performance.
I''m
> pretty sure the "correct" answer now is to calibrate and use
rdtsc,
> the cycle counter, which is essentially free (costs about as much as a
> non-cached DRAM access). If you calibrate, you can convert from TSC
> cycles to a struct timeval to hand select().



You''re cordially invited to send me a patch ;-)
-------------- next part --------------
An HTML attachment was scrubbed...