<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2658.2">
<TITLE>Re: [asterisk-dev] asterisk profiling...</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2 FACE="Arial">Luigi,</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier New">> I would be grateful if some good soul could tell me what's</FONT>
<BR><FONT SIZE=2 FACE="Courier New">> the header file that defines rdtsc() for i586+ platforms</FONT>
<BR><FONT SIZE=2 FACE="Courier New">> (it is in <machine/cpufunc.h> for FreeBSD) and whether</FONT>
<BR><FONT SIZE=2 FACE="Courier New">> there is an equivalent high performance counter available</FONT>
<BR><FONT SIZE=2 FACE="Courier New">> on other systems with different CPUs (e.g. i486...)</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier New">Not an expert on this but SuSE has </FONT>
<BR><FONT SIZE=2 FACE="Courier New"><asm/msr.h></FONT>
</P>
<P><FONT SIZE=2 FACE="Courier New">which defines all the MSR related opcodes.</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier New">AFAIK the TSC was introduced with the i586 and no similar existed prior to that.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Trevor Raynsford</FONT>
<BR><FONT SIZE=2 FACE="Arial">Software Engineer</FONT>
<BR><FONT SIZE=2 FACE="Arial">Aculab</FONT>
<BR><FONT SIZE=2 FACE="Arial">Tel: +44 (0)1908-273800</FONT>
<BR><FONT SIZE=2 FACE="Arial">Fax: +44 (0)1908-273801</FONT>
<BR><FONT SIZE=2 FACE="Arial">Email: mailto:trevor.raynsford@aculab.com</FONT>
<BR><FONT SIZE=2 FACE="Arial">Website: <A HREF="http://www.aculab.com/" TARGET="_blank">http://www.aculab.com/</A> </FONT>
</P>
<BR>
</BODY>
</HTML>