Function procfs::ticks_per_second

source ·
pub fn ticks_per_second() -> Result<u64>
Expand description

Return the number of ticks per second.

This isn’t part of the proc file system, but it’s a useful thing to have, since several fields count in ticks. This is calculated from sysconf(_SC_CLK_TCK).