[ECOS] Changing system timer resolution
Gary Thomas
gthomas@redhat.com
Mon Dec 3 09:46:00 GMT 2001
On Mon, 2001-12-03 at 10:21, Jonathan Larmour wrote:
> Gary Thomas wrote:
> >
> > On Mon, 2001-12-03 at 09:34, Jonathan Larmour wrote:
> > >
> > > I think the idea is that the stack can be presented with something that
> > > looks like HZ == 100, but it actually isn't.
> > >
> > > But looking closer, I'm not sure this has been fixed:
> > > net/tcpip/current/src/ecos/timeout.c doesn't scale the number of ticks at
> > > all.
> >
> > Actually, I would think the only thing that would need attention is:
> > net/tcpip/current/src/ecos/support.c: int hz = 100;
> > to make it work when the tick frequency is not 100Hz.
> >
> > Was there some specific function/detail you were referring to?
>
> The timeout() function in timeout.c, presumably the units of "delta" are
> net stack ticks, so would need some scaling to eCos ticks?
They should all be hased on 'hz', which I think is all that needs to
be updated.
More information about the Ecos-discuss
mailing list