On Friday 12 May 2006 08:28, Lee Patton wrote: > Any suggestions for getting nanosecond (or at least, sub-microsecond) > timing under Linux? The best I've Googled have been platform-dependent > assembly timers.
I know FreeBSD has [get]nanotime() but I don't know how portable that is (probably not at all). Also, if you are using this to tag USRP streams you are probably better off finding some way to sync the start of acquisition to something and then counting samples. That way it's "free". (at work our acquisition system syncs to GPS 1PPS and if we need mucho accuracy we use GPS disciplined Rubidium clocks driving a PLL) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
pgplNtkukek09.pgp
Description: PGP signature
_______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
