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

Re: [Xen-devel] PRI_stime



On Tue, Oct 20, 2015 at 7:26 AM, Jan Beulich <JBeulich@xxxxxxxx> wrote:
> George, Dario,
>
> it being mostly used in scheduler code, and me considering it quite a
> bit easier to compare such big numbers when shown in hex I wonder:
> Do you prefer this to stay PRId64, or would you accept it to be
> changed to PRIx64 (allowing it to be used in a few other places)?

Personally I've never taken the time to familiarize myself with the
magnitude of hex numbers vs decimal numbers; so in the case of time, I
could easily see that 10000000 nanoseconds is about 1ms; but I don't
have a good sense of how long 0x1000000 nanoseconds is.  The fact that
our times are based on base 10 instead of base 2 is I think as good an
argument as any for leaving it as a decimal.

But I wouldn't oppose the change if Dario (or others) thought x64 was
the way to go.

 -George

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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