No, I have looked that those, they do not work for me as I need to be able to compate the value if 'ticks' with a value initialized from 'ticks'.
The problems is that 'ticks' is not 'exact'. So I cannot calculate it with the different between the boot time and the current time * a constant factor.


Any ideas? Might patching (adding it to) sysctl be a thing to consider or would that cause security issue's?

Thanks!
Jan



M. Warner Losh wrote:

In message: <[EMAIL PROTECTED]>
Jan Knepper <[EMAIL PROTECTED]> writes:
: 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?


Why?

You'll likely want to look at one of:
        getmicrouptime
        tsleep
        msleep
        getmicrotime

Warner






To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to