UART console based on interrupt

Grigori Khmyrov Grigori_Khmyrov at uml.edu
Thu Jul 19 13:42:56 UTC 2007


John,

Can you please share or point to how do you measure CPU usage.

Thank you,
Grigori

John Pickwick wrote:

> Hi to all,
>  
> I recently re-compiled my SparcLEON2 BSP / RTEMS4.7.1 using the 
> USE_CONSOLE_INTERRUPT macro and I compared the CPU usage with the 
> default BSP version that uses polled UART.
> I have a task waiting on console input with getchar and I expected the 
> interrupt driven version of the console to be less CPU consuming. 
> Unfortunately I find the same CPU usage percentage for that one.
>  
> Can someone explain this ?
>  
> Best regards,
>  
> John
>
>------------------------------------------------------------------------
>
>_______________________________________________
>rtems-users mailing list
>rtems-users at rtems.com
>http://rtems.rtems.org/mailman/listinfo/rtems-users
>  
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20070719/a2e65ff2/attachment-0001.html>


More information about the users mailing list