In the last episode (Apr 13), Richard P. Williamson said:
> Is there a reasonable timestamp (that uses a struct timeval
> to return data by preference) in 4.8R?
>
> TSTMP (option KERN_TIMESTAMP) writes the rdtsc clock
> value to debug.timestamps in sysctl-space.  That does
> not suit my purposes (need to timestamp the creation
> of objects which are passed about).

Why not use gettimeofday()?  If you need more precision than
microseconds, you probably can bump up HZ and use clock_gettime().

-- 
        Dan Nelson
        [EMAIL PROTECTED]
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to