lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-devel] tcp_ticks is not include the real tick of system?


From: Kieran Mansley
Subject: Re: [lwip-devel] tcp_ticks is not include the real tick of system?
Date: Mon, 12 Apr 2010 16:29:44 +0100

On Mon, 2010-04-12 at 23:00 +0800, edgar wrote:
> There are two shortcoming:
> 1. Variable time_needed is only included expired time while invoking
> sys_arch_mbox_fetch. timeouts->next->time must minus expired time of
> waiting
> and process message, such as time of invoking tcp_input.

Any time spent processing the packets should be very small compared to
time waiting.  We're talking about times in milliseconds here: 1ms would
be a long time to spend processing a packet, so the difference of
including that time is going to be mostly nothing.

> 2. Timer handler is delayed while flow enter the blue branch.

What's the blue branch?

Are you seeing a problem with the way that timeout times are handled, or
do you just think the code could be improved here?  If there's a real
problem you're trying to sort out it would be good to know what it is.

Kieran





reply via email to

[Prev in Thread] Current Thread [Next in Thread]