Clock resolution problem in linux 2.6.18 kernel
I used to have a linux 2.4 kernel in my machine. It had the clock resolution of 10ms. (I got this information using the clock_getres() function call). Since for my program, I needed a higher clock resolution, I decided to upgrade the kernel to 2.6.18. During the compilation, I selecte the clock frequency to 1000Hz. Yet in this upgraded kernel, I find the clock resolution to be 10ms instead of 1ms. What might be the reason? How can I check if I made any mistake?
My PC is an older machine. It's Pentium 2 machine.