ts-7000
[Top] [All Lists]

Re: [ts-7000] reading pulses in realtime

To:
Subject: Re: [ts-7000] reading pulses in realtime
From: Andy Warner <>
Date: Wed, 30 Mar 2005 11:45:09 -0600
Grant Stockly wrote:
> 
>    A routine that prints a small printk message and exits gets 100-150
>    interrupts per second which causes user space programs to halt.  I'm
>    not sure if the interrupts would be faster without the printk
>    statemets.  I'd hope not, since this is a 200MHz processor we're
>    talking about.  ;)

printk will soak up CPU like a sponge. It usually uses polled output
to ensure that the message gets out no matter how messed up the
system is, as such, you'll likely spend the entire time needed to
send the characters out over the serial port in printk (modulo
hardware fifo depth.).
-- 


Andy Warner             Voice: (612) 801-8549   Fax: (208) 575-5634


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU