public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* System tick rate
@ 2009-03-12 13:38 Jan Engelhardt
  2009-03-12 14:21 ` Arjan van de Ven
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Engelhardt @ 2009-03-12 13:38 UTC (permalink / raw)
  To: Linux Kernel Mailing List

Hi,


is there an "official" way of obtaining the current tick rate when 
CONFIG_NO_HZ? This is for a simple statistics display tool. Counting the 
interrupts from /proc/interrupts (calculating the difference between two 
timepoints) seems to work, though I have seen at least one x86 machine 
where both IRQ0 and the LOC counters increase, making it not entirely 
obvious which number to take as a base. Suggestions?

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-03-16 18:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-12 13:38 System tick rate Jan Engelhardt
2009-03-12 14:21 ` Arjan van de Ven
2009-03-12 14:45   ` Jan Engelhardt
2009-03-13  8:49     ` Peter Zijlstra
2009-03-16 18:11       ` Jan Engelhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox