[mythtv-commits] mythtv/master commit: 5aa9f0657 by Mark Kendall (mark-kendall)

MythTV noreply at mythtv.org
Thu Jun 30 13:20:09 UTC 2011


      Author:  Mark Kendall <mkendall at mythtv.org>
 Change Date:  2011-06-30T06:19:47-07:00
   Push Date:  2011/06/30 06:19:58 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  5aa9f06570f4c2fd732fc011684c0ba3d80ae2ba
   Changeset:  https://github.com/MythTV/mythtv/commit/5aa9f0657

Log:

Add CPU utilisation monitoring (linux only).

The current version is piggybacked onto the jitterometer code (and hence
is playback only - but could easily be moved into one of the 'base'
libraries for more generic use) and extends the jitterometer output as
well as the OSD debug screen.

Utilisation is provided for each core. While overall load is nice, it
doesn't give the real flavour of what's happening when playback is CPU
bound (e.g. the decoder is pegging one core). The output is going to
start looking messy for all of the boys and girls with quad/many core
CPUs and hyperthreading and that will probably need to be tweaked (maybe
overall utilisation plus highlight cores that have utilisation > 90%).

Windows code should be easy enough to produce - not so sure about OS X.

Modified:

   mythtv/libs/libmythtv/jitterometer.cpp
   mythtv/libs/libmythtv/jitterometer.h
   mythtv/libs/libmythtv/mythplayer.cpp
   mythtv/themes/default-wide/osd.xml
   mythtv/themes/default/osd.xml



More information about the mythtv-commits mailing list