[Asterisk-Users] ztdummy with kernel 2.6

Tony Hoyle tmh at nodomain.org
Wed May 26 17:05:57 MST 2004


Adam Hart wrote:

>>
> Forgive me for prehaps a stupid question but does the 2.6 kernel have 
> accurate timers built in now? as I see your code just wraps their timer.
> 
The HZ value in 2.6 is now 1000 to support realtime scheduling etc.  It's 
certainly accurate enough.  I'm not sure the same thing would work on 2.4 
though (maybe worth a try if someone's got some spare time...)

If you run zttest with it loaded you get about 99.98% accuracy.

Tony

-- 
Te audire no possum. Musa sapientum fixa est in aure.

Tony Hoyle <tmh at nodomain.org>  Key ID: 104D/4F4B6917 2003-09-13
Fingerprint: 063C AFB4 3026 F724 0AA2  02B8 E547 470E 4F4B 6917



More information about the asterisk-users mailing list