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

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



Hello Dario,


On 12.09.18 10:42, Dario Faggioli wrote:
Sorry, I'm not sure I'm getting this properly. When you say "with the
current formula", do you mean before or after this series?
I did mean the formula existing before this series.

IAC, changing the default format file that we ship so that it prints
time in the format seconds.nanoseconds (if CPU speed is specified),
would be nice IMO.
On the second though I realized it is quite inconvenient. From the formats file we can't distinguish if tsc contains float sec.ns or integer cycles. For cycles it will look like following:

   CPU0          1090699305.000000000 (+     336) rtds:tickle        [
   cpu = 0 ]


As said already, the one reason why I think
it still could be useful, and we should keep it, is that the way a
trace will look like can be changed or tweaked rather easily, and
without having to recompile anything, via the formats file, which is
rather cool. :-)
+1

--

*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®.