timestamp in 4.8?

Richard P. Williamson richard.williamson at u4eatech.com
Tue Apr 13 08:18:36 PDT 2004


further to my ruminations and wandering about through the
man pages, I see gettimeofday(3).  gettimeofday() does use
a struct timeval...and that leads me to nanotime(9).

Any recomendations for/against use of nanotime?

moreTIA,
rip

At 15:31 13/04/2004, sed <<^
>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).
>
>TIA,
>rip
^; 



More information about the freebsd-questions mailing list