The HyperNews Linux KHG Discussion Pages

Question: Improving event timers?

Forum: The Linux Kernel Hackers' Guide
Keywords: event timers improvement
Date: Fri, 05 Sep 1997 16:15:40 GMT
From: <>

I want to evaluate my new implementation of event timers, and compare its performance with the one I have (2.0.29) for different usage patterns.

Three questions about add_timer, init_timer, del_timer:

- I want to know how existing apps (x,tcp/ip,ppp,latex, etc) use event timers. Can I just trace some syscall using strace (which ones?)? The alternative would be instrumenting the kernel to keep track of the calls, that would take me more time coding.

- are these primitives C library wrappers around system calls that do the same, or does the C part implement more functionality on top of the kernel part?

- which library contains the primitives for C? gcc can't compile because the linker can't find add_timer, ... I tried to find where they are with "nm", but they don't seem to be in any file in my/usr/lib. Should I download another library from some internet site?

Thanks a lot,