Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Aug 2014 16:21:10 -0400
From:      "Kendrick, Stuart" <Stuart.Kendrick@emc.com>
To:        Ryan Stone <rysto32@gmail.com>
Cc:        "freebsd-dtrace@freebsd.org" <freebsd-dtrace@freebsd.org>
Subject:   Re: printing time
Message-ID:  <D024DCBF.1553D%stuart.kendrick@emc.com>
In-Reply-To: <CAFMmRNzy_gSi8duNVoh4rRGVV=c=UHPdxXWhXyHaLURZPp-AMg@mail.gmail.com>
References:  <D0249056.15458%stuart.kendrick@emc.com> <CAFMmRNzy_gSi8duNVoh4rRGVV=c=UHPdxXWhXyHaLURZPp-AMg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In fact, printf(=B3%Y =8A\n=B2, timestamp =8A.); will give me a timestamp w=
hich
looks like 1970 Jan 1 + uptime, and that will meet my needs for the
moment.  Thank you for the idea.

=8Bsk

>
>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).
>
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D024DCBF.1553D%stuart.kendrick>