Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 2000 13:00:37 -0500
From:      "Hao Zhang" <zhanghao@nortelnetworks.com>
To:        "'freebsd-hackers@FreeBSD.ORG'" <freebsd-hackers@FreeBSD.ORG>, "'freebsd-net@FreeBSD.ORG'" <freebsd-net@FreeBSD.ORG>
Subject:   high speed timestamp counter
Message-ID:  <E1A4B2CC91EBD1118A510000F80836F80254FD5B@zwdld002.ca.nortel.com>

next in thread | raw e-mail | index | archive | help
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C044F6.CDC53170
Content-Type: text/plain;
	charset="iso-8859-1"

Hi there,

I am trying to read the on board Pentium Time Stamp Counter. Is there an API
in Unix that allows me to read it directly?
Or some assembly language line that I can drop into my code?

I need the high speed counters to profile some code. I don't want to use the
classical time API that is provided in <time.h>


-Hao


------_=_NextPart_001_01C044F6.CDC53170
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2652.35">
<TITLE>high speed timestamp counter</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">Hi there,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I am trying to read the on board =
Pentium Time Stamp Counter. Is there an API in Unix that allows me to =
read it directly?</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Or some assembly language line that I =
can drop into my code?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I need the high speed counters to =
profile some code. I don't want to use the classical time API that is =
provided in &lt;time.h&gt;</FONT></P>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">-Hao</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C044F6.CDC53170--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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