In fact, printf(³%Y Š\n², timestamp Š.); will give me a timestamp which
looks like 1970 Jan 1 + uptime, and that will meet my needs for the
moment.  Thank you for the idea.

‹sk

>
>Do you need wall clock time, or do you just need relative timestamps
>to other dtrace prints?  timestamp works in all FreeBSD versions and
>you can print it as a simple int.  The counter is given in nanoseconds
>(I believe that it's specifically the number of nanoseconds since
>boot, but don't quote me on that).
>
>

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-dtrace
To unsubscribe, send any mail to "[email protected]"

Reply via email to