Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jun 1997 01:33:55 -0700 (PDT)
From:      Simon Shapiro <Shimon@i-Connect.Net>
To:        FreeBSD-Hackers@FreeBSD.org
Subject:   High Resolution Timers, How?
Message-ID:  <XFMail.970618013355.Shimon@i-Connect.Net>

next in thread | raw e-mail | index | archive | help
Hi Y'all,

I am in need for a precise, high resolution timer within the kernel.
I need it to time certain instructions, functions, and I/O events.

The best i could find is a global variable called time which claims
to have a usec resolution but;  Either I am exceptionally lucky and
always hit it on a x000000 resolution, or it is not telling the
truth.  i need a timer that will increment in usec resolution or
as close to it as I can get.

Any help will be appreciated.

Simon



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