Re: time interpolation hooks

From: Arjan van de Ven (arjanv@redhat.com)
Date: Mon May 19 2003 - 12:42:03 EST


On Mon, May 19, 2003 at 10:34:43AM -0700, David Mosberger wrote:
>
> struct time_interpolator {
> void (*update_wall_time) (long delta_nsec);
> void (*reset_wall_time) (long delta_nsec);
> unsigned long frequency; /* frequency in counts/second */
> unsigned long drift; /* drift in parts-per-million (?) */
> };

probably also a "get interpolated value" kind of thing ?
other than that it seems to match what I had in mind.
For the score we may need something creative; I'm not sure all timers
have a defined drift, otoh parts-per-million seems to be the
standard mechanism of reporting this.

Greetings,
   Arjan van de Ven
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri May 23 2003 - 22:00:35 EST