Can jiffies freeze?
From: Mulyadi Santosa <hidden>
Date: 2013-01-22 08:27:06
From: Mulyadi Santosa <hidden>
Date: 2013-01-22 08:27:06
Hi.. On Tue, Jan 22, 2013 at 12:51 PM, sandeep kumar [off-list ref] wrote:
Hi all As far as I know jiffie counter is incremented HZ times/second. And it is used to measure the time lapses in the kernel code. I m seeing a case where, actualy time spent in some module using giffies is zero,
theoritically possible, especially under NO_HZ a.k.a dynamic tick, but mind you 2 secs is so long, so maybe something is not right. BTW, like Anish says, how do you read it? It sounds like you read cached value of jiffies...but that's just my guess... -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com