Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Oct 2011 16:35:42 +0400
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        freebsd-hackers@freebsd.org
Subject:   Way to get current tick number in kernel?
Message-ID:  <1076522387.20111002163542@serebryakov.spb.ru>

next in thread | raw e-mail | index | archive | help
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 :)

--=20
// Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1076522387.20111002163542>