Re: [Discuss-gnuradio] Interesting observation regarding varying time duration it takes to execute fg.start() [a flowgraph start ala thread spawning??]

2010-03-08 Thread Matt Ettus
On 03/07/2010 01:12 PM, Eric Blossom wrote: On Sun, Mar 07, 2010 at 04:07:58PM -0500, Bishal Thapa wrote: Thank you for your reply Eric. I did print delta and delta.microseconds and guess what I did get this: Receiver (0) = BABA0002 Requested RX Bitrate: 100k Probe Level 39 0:00:00.000327

Re: [Discuss-gnuradio] Interesting observation regarding varying time duration it takes to execute fg.start() [a flowgraph start ala thread spawning??]

2010-03-08 Thread Bishal Thapa
Yes Matt, you were correct. Now the range between min-time recorded and max-time recorded is much less. Min = 309us (still), Max = 2349us. So range ~= 2ms. I believe it is due to Eric's reasoning, multiple services running on my host machine, although I have to mention I am running these programs

Re: [Discuss-gnuradio] Interesting observation regarding varying time duration it takes to execute fg.start() [a flowgraph start ala thread spawning??]

2010-03-08 Thread Eric Blossom
On Mon, Mar 08, 2010 at 04:09:49PM -0500, Bishal Thapa wrote: Yes Matt, you were correct. Now the range between min-time recorded and max-time recorded is much less. Min = 309us (still), Max = 2349us. So range ~= 2ms. I believe it is due to Eric's reasoning, multiple services running on my

[Discuss-gnuradio] Interesting observation regarding varying time duration it takes to execute fg.start() [a flowgraph start ala thread spawning??]

2010-03-07 Thread Bishal Thapa
Hi, I have an interesting observation to share, and I want to see if anybody can help me shed some light. When I measure time in python in the following way: t1 = datetime.now() self.start() t2=datetime.now() diff = t2.microsecond - t1.microsecond print Difference %d, diff I get very different

Re: [Discuss-gnuradio] Interesting observation regarding varying time duration it takes to execute fg.start() [a flowgraph start ala thread spawning??]

2010-03-07 Thread Eric Blossom
On Sun, Mar 07, 2010 at 02:05:12PM -0500, Bishal Thapa wrote: Hi, I have an interesting observation to share, and I want to see if anybody can help me shed some light. When I measure time in python in the following way: t1 = datetime.now() self.start() t2=datetime.now() diff =

Re: [Discuss-gnuradio] Interesting observation regarding varying time duration it takes to execute fg.start() [a flowgraph start ala thread spawning??]

2010-03-07 Thread Bishal Thapa
Thank you for your reply Eric. I did print delta and delta.microseconds and guess what I did get this: Receiver (0) = BABA0002 Requested RX Bitrate: 100k Probe Level 39 0:00:00.000327 [*This is from printing delta*] 327 [*This is from printing delta.microseconds*] Why do you think I should

Re: [Discuss-gnuradio] Interesting observation regarding varying time duration it takes to execute fg.start() [a flowgraph start ala thread spawning??]

2010-03-07 Thread Eric Blossom
On Sun, Mar 07, 2010 at 04:07:58PM -0500, Bishal Thapa wrote: Thank you for your reply Eric. I did print delta and delta.microseconds and guess what I did get this: Receiver (0) = BABA0002 Requested RX Bitrate: 100k Probe Level 39 0:00:00.000327 [*This is from printing delta*] 327