On Jan 5, 2008, at 6:42 PM, fulatoro wrote:
> Well, you might have a point, however, I am reading IO pins and I
> would like to have better granularity than the 10ms System clock, I
> realize that I can probably improve things by writing a device driver
> and doing the work in the kernel, but the complexity is not justified.
> My system is doing basic IO work and provides a web interface for
> setup and configuration and that is about it. It should not be too
> taxing.
Everybody says that it'll bring the CPU to its knees, but I always
thought that sounded a little fishy. There is time to execute
200,000 instructions at 1kHz, which seems like plenty.
If you do reset the system clock to a kHz or so, I'd be curious to
hear how things go for you.
Oh, and what board are you using?
Thanks,
-Ilya
>
> Maybe someone else can share their experience on this.
>
> Moussa
>
> --- In Fotis Loukos <> wrote:
>>
>> fulatoro wrote:
>>> Hello, I was attempting to change the HZ setting and recompile the
>>> kernel but, I was unable to find the option when doing a make
>>> xconfig.
>>> I did attempt to modify the .config file manually to set the HZ to
>>> 1000, but it seems to default back to 100. Any suggestions on
>>> how to
>>> do this right?
>>>
>>> Moussa
>>>
>>>
>> Hello,
>> you can change the HZ value at linux/include/asm-arm/param.h. But are
>> you sure you want to do this? 1000 interrupts per second just for the
>> timer may be too much. At least for the user applications...
>>
>> Fotis
>>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|