Re: gettime: Was (Re: Route cache performance under stress
From: Andi Kleen <hidden>
Date: 2003-06-11 12:08:03
From: Andi Kleen <hidden>
Date: 2003-06-11 12:08:03
On Wed, Jun 11, 2003 at 07:54:53AM -0400, Jamal Hadi wrote:
Ok, time to go into another separate thread ;-> Sounds like a good idea. if (skbneedstimestamp) do_gettimeofday(&skb->stamp); else defertimestamp()
Another way is to just store jiffies (= 10 or 1ms accuracy) This should be nearly zero cost and accurate enough at least for TCP. -Andi