Control: tag -1 +moreinfo

On Fri, 24 Mar 2017 23:24:21 +0000
Zefram <[email protected]> wrote:

> Observe that the "raw time" line shows in its two-part form a time over
> 23 million microseconds, i.e., over 23 seconds, into the present second.
> Also, in its one-part form it shows a value that seems to treat these
> microseconds as each being 1e-8 seconds long.  These displays are
> inconsistent with each other, and inconsistent with the meaning of
> microseconds.
> 
> What's really going on is that the STA_NANO flag is set (8192 in the
> status), so the tv_usec field of the struct timeval doesn't actully
> represent microseconds.  It represents *nanoseconds*.  The true raw time
> is different from both of the values shown, and for the call made above
> should have been shown as
> 
>      raw time:  1490397277s 23837440ns = 1490397277.023837440

Thanks for your reporting!

You tagged as minor, so I think it's just a display issue of raw time,
and it doesn't affect adjtimex's time calculation, right?

And it'd be appreciated if you can kindly provide a patch.

Cheers,
-- 
Roger Shimizu, GMT +9 Tokyo
PGP/GPG: 4096R/6C6ACD6417B3ACB1

Attachment: pgpHikXGfkPC2.pgp
Description: PGP signature

Reply via email to