Way to get current tick number in kernel?

Lev Serebryakov lev at FreeBSD.org
Sun Oct 2 12:36:05 UTC 2011

Hello, Freebsd-hackers.

  What should I use to measure short intervals of time between events
in kernel? I don't need any "time" in means of, for example, time(3)
API, but some monotonically and uniformly increasing counter with
known frequency. As cheap as possible, without complex calculations :)

// Black Lion AKA Lev Serebryakov <lev at FreeBSD.org>

More information about the freebsd-hackers mailing list