[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-multimedia
Subject: Re: kmixapplet cpu usage
From: Carsten Pfeiffer <carpdjih () cetus ! zrz ! TU-Berlin ! DE>
Date: 2000-10-01 0:37:44
[Download RAW message or body]
On Sun, Oct 01, 2000 at 02:03:12AM +0200, Carsten Pfeiffer wrote:
Hi,
> kmixapplet takes around 7% of CPU (K6-2 500) while just sitting in the panel...
> is there some room for optimization left?
please forgive me my ignorance on this topic...
I just had a look at the code and found two things:
- it sets up a timer to check if the mixer changed -- every 500ms. Isn't 1
sec. enough? Even better have that value configurable, at least in a
configfile to avoid creating new strings.
- apparently I get 4 mixer devices with ALSA, kmixapplet let's me choose to
use one of them. But it installs the timer on all of them, i.e all 4 mixers are
checked every 500ms currently. Can't we just check the configured one?
Cheers,
Carsten Pfeiffer
_______________________________________________
Kde-multimedia mailing list
Kde-multimedia@master.kde.org
http://master.kde.org/mailman/listinfo/kde-multimedia
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic