System tick rate

From: Jan Engelhardt
Date: Thu Mar 12 2009 - 09:38:35 EST


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?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/