[mythtv] [mythtv-commits] Ticket #7525: Optimize Pulse handling in MythUI

Jim Stichnoth stichnot at gmail.com
Fri Aug 27 01:33:03 UTC 2010

On Thu, Aug 26, 2010 at 4:17 PM, Gavin Hurlbut <gjhurlbu at gmail.com> wrote:
> I would propose that we change the animation to being time-based if that's
> what it will take to make this less CPU intensive.  We aren't making a Pixar
> film here, people :)  We can sacrifice a little on the quality of our
> animations to be less CPU-hoggish :)  I don't think we even need to worry
> about slowing the animations down further.  If we just animate at 1/2
> refresh frame rate, we should be relatively OK for the forseeable future.
> I guess I maybe just talked myself into another chunk of work.  Crap.

A better question might be, why does it take ~10,000 clock cycles to
change one pixel on the screen?  (Assuming 2 GHz CPU, 150x10 pixels
being pulsed, 70 Hz pulse rate, 50% CPU utilization.)  Solve that
problem, and we can surely ignore all the pulse rate stuff.


More information about the mythtv-dev mailing list