Probably you could try this:
"
asm volatile(".byte 0x0f, 0x31" : "=A" (tstart));
asm volatile(".byte 0x0f, 0x31" : "=A" (tend));
"
it should be right for X86 platform.
--Ken
On Mon, 3 Mar 2003, Jan Knepper wrote:
> Any one have an idea how to pull the value for 'ticks' (kern_clock.c)
> from the kernel?
> I have looked into sysctl, but could not find "how to".
> I am overlooking something?
> Thanks!
> Jan
>
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
>
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message