Hi, I am implementing a different scheduling policy in the scheduler of Linux 2.0.0. I need to measure the time taken for choosing the next task to be scheduled, i.e., the actual time spent in the schedule() function, without the actual context switch having taken place. Since I clear interrupts in schedule(), how do I measure the time? Does 'jiffies' still contain the actual time? Or is the time asynchronously updated in some other variable while the timer interrupt is disabled? Thanks, Jasleen Kaur |