[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Timers
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] Timers |
Date: |
Wed, 1 Nov 2006 07:25:42 -0800 |
User-agent: |
Mutt/1.5.9i |
On Wed, Nov 01, 2006 at 05:17:08PM +0800, Jeremy Chew wrote:
> Hello,
>
> I plan to use setitimer() for my GR development. I understand that each
> Linux process can have only one timer at a time. Is this right?
> If so, does GR use the timer? How do I avoid clashing with the GR over the
> timer?
In general, we handle time by counting samples. For example, with the
USRP as the i/o device, we _know_ the actual data rate across the USB.
We don't explicitly use setitimer, but there's a chance that Python
could be using it behind the scenes for reasons of it's own.
FYI, when the high-resolution timing support is complete, it will
effectively be counting samples too -- only this time out in the FPGA.
Eric