Thread (209 messages) 209 messages, 18 authors, 2003-06-17

Re: gettime: Was (Re: Route cache performance under stress

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help