discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] GRAS time assert error - was Volk error


From: Josh Blum
Subject: Re: [Discuss-gnuradio] GRAS time assert error - was Volk error
Date: Tue, 11 Jun 2013 21:31:16 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6


On 06/11/2013 07:03 PM, Yogesh Dahiya wrote:
> Thanks Its working fine now after the update and commenting assert
> statement.
> 

I think I found the problem. The ticks calculation was using 32 bit math
on a 32-bit platform because the type was unsigned long, so there was
numeric overflow. The right casting seems to fix the issue.

-josh

> 
> On Wed, Jun 12, 2013 at 4:08 AM, Josh Blum <address@hidden> wrote:
> 
>>
>>> time_now() = 122002822
>>> _init_time = 1984664495
>>>
>>
>> Well thats special, _init_time > time_now...
>>
>> One possible explanation is that on this version, CLOCK MONOTONIC has a
>> different monotonic count per thread. given that the tick count is also
>> pretty small, I suspect this is the case. But not on the more recent
>> versions of ubuntu. :-)
>>
>> I will have to do a little more research. But its safe to comment out
>> the asserts. The times are just used for the status monitor to determine
>> the downtime of a particular port.
>>
>> -josh
>>
> 



reply via email to

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