Eric Dumazet wrote: > Varun Chandramohan a écrit : >> >> + return (tv->tv_sec + (tv->tv_usec + 999999)/1000000); > > return tv->tv_sec + (tv->tv_usec ? 1 : 0); > > is much faster
It additionally wins the design award in opposite to my suggestion ;-) Thanks! - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html