Re: Dropped frames in video capture process

H. Peter Anvin (hpa@transmeta.com)
13 Nov 1998 01:50:11 GMT


Followup to: <19981113112233.C29521@caffeine.ix.net.nz>
By author: Chris Wedgwood <chris@cybernet.co.nz>
In newsgroup: linux.dev.kernel
>
> On Thu, Nov 05, 1998 at 07:56:31PM +0000, Alan Cox wrote:
>
> > 8253 I think (well nowdays random bit of integrated chipset). The
> > gettimeofday() call reads it - but its actually quite slow to read.
> > Pentium and higher processors use the RDTSC CPU internal time clock
> > for the same purpose
>
> How does this for for SMP machines where presumably they can get out
> of sync. ?
>

They better not if they're to be used as real-time clocks! Anyway, it
is *VERY* unlikely they'll get out of sync (unless the TSC is broken
like on Cyrix chips) since virtually all SMP machines clock from the
same source.

Much harder is to get them synchronized in the first place.

-hpa

-- 
    PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD  1E DF FE 69 EE 35 BD 74
    See http://www.zytor.com/~hpa/ for web page and full PGP public key
        I am Bahá'í -- ask me about it or see http://www.bahai.org/
   "To love another person is to see the face of God." -- Les Misérables

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/