[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 1/5] xentrace_format: print timestamps in nanoseconds




On 11.09.18 13:44, George Dunlap wrote:
What I do in xenalyze is to have the timestamps in seconds, but always
print down to the nanosecond.  (For this I actually break cpu cycles
into s and ns separately, and then print "%u.%09u".)
Here, we can have the same. With the 0current formula in xentrace_format, but changing `%(tsc)d` to `%(tsc).9f` in formats. BTW, I've just noticed, that reltsc is allways in cycles. And it seems odd, as well.

--

*Andrii Anisov*


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.