[asterisk-dev] asterisk profiling...

Trevor Raynsford Trevor.Raynsford at ACULAB.COM
Mon Mar 27 02:55:45 MST 2006


Luigi,

> I would be grateful if some good soul could tell me what's
> the header file that defines rdtsc() for i586+ platforms
> (it is in <machine/cpufunc.h> for FreeBSD) and whether
> there is an equivalent high performance counter available
> on other systems with different CPUs (e.g. i486...)

Not an expert on this but SuSE has 
<asm/msr.h>

which defines all the MSR related opcodes.

AFAIK the TSC was introduced with the i586 and no similar existed prior to
that.

Trevor Raynsford
Software Engineer
Aculab
Tel: +44 (0)1908-273800
Fax: +44 (0)1908-273801
Email: mailto:trevor.raynsford at aculab.com
Website: http://www.aculab.com/ 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20060327/a929fe95/attachment.htm


More information about the asterisk-dev mailing list