<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
John,<br>
<br>
Can you please share or point to how do you measure CPU usage.<br>
<br>
Thank you,<br>
Grigori<br>
<br>
John Pickwick wrote:<br>
<blockquote cite="mid00fe01c7c979$ef903660$6394e552@hal" type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta content="MSHTML 6.00.2900.3132" name="GENERATOR">
  <style></style>
  <div><font face="Arial" size="2">Hi to all,</font></div>
  <div> </div>
  <div><font face="Arial" size="2">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.</font></div>
  <div><font face="Arial" size="2">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.</font></div>
  <div> </div>
  <div><font face="Arial" size="2">Can someone explain this ? </font></div>
  <div> </div>
  <div><font face="Arial" size="2">Best regards,</font></div>
  <div> </div>
  <div><font face="Arial" size="2">John</font></div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
rtems-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rtems-users@rtems.com">rtems-users@rtems.com</a>
<a class="moz-txt-link-freetext" href="http://rtems.rtems.org/mailman/listinfo/rtems-users">http://rtems.rtems.org/mailman/listinfo/rtems-users</a>
  </pre>
</blockquote>
</body>
</html>