gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] ntpshmmon


From: Gary E. Miller
Subject: Re: [gpsd-dev] ntpshmmon
Date: Mon, 26 Oct 2015 20:08:43 -0700

Yo Nuno!

On Tue, 27 Oct 2015 00:01:55 +0000
Nuno Gonçalves <address@hidden> wrote:

> Without using any option ntpshmmon was producing sometimes 2 results
> per second for the same signal, and other times just 1 as supposed.

Well, supposed for some cases and not for some others.

> The code also have a comment saying "* we're ignoring duplicates via
> timestamp,".

Yup.

> But the code uses the shm_stat.tvc timestamp for this, which is the
> collection time.

Yup.  We only collect once per pulse, so any of the time stamps ensures
uniqueness.

> So this is why I receive duplicates.

Well, that would be a bug.

> I would be glad to fix it if I know what is the intended behaviour.

You understand the intended behavior now?

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

Attachment: pgpqrOQ6uuZC1.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]