Re: Microsecond Resolution Timers

Ingo Molnar (mingo@pc5829.hil.siemens.at)
Wed, 26 Mar 1997 09:15:25 +0100 (MET)


a few technical comments about the patch at
http://hegel.ittc.ukans.edu/projects/utime/utime-linux-2.0.22.patch

- 10 millisecond is hardcoded at many places, maybe it would be better to
use 'tick' (eg. i frequently use 1000 Hz timer interrupts, when
profiling).

- do you think this patch could be somehow integrated into Finn Gangstad's
new and very fast timers implementation? [added in 2.1.24, backported
to 2.0 in pre-2.0.30].

- it might be a good idea to make the patch 'seemless', say through a
CONFIG_ option. add_timer() is called very often and dynamic checking is
not quite acceptable there.

-- mingo