[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: backend('fltk') use large amount CPU resources on MinGW
From: |
Tatsuro MATSUOKA |
Subject: |
Re: backend('fltk') use large amount CPU resources on MinGW |
Date: |
Sat, 25 Dec 2010 10:54:09 +0900 (JST) |
Hello
I have carried out dbstep trace.
octave:2> backend('fltk')
stopped in C:\Programs\OctaveBuild\share\octave\3.3.54+\m\plot\backend.m at
line 33
33: name = "";
debug> dbstep
stopped in C:\Programs\OctaveBuild\share\octave\3.3.54+\m\plot\backend.m at
line 34
34: hlist = [];
debug> dbstep
stopped in C:\Programs\OctaveBuild\share\octave\3.3.54+\m\plot\backend.m at
line 36
36: if (nargin == 1)
debug> dbstep
stopped in C:\Programs\OctaveBuild\share\octave\3.3.54+\m\plot\backend.m at
line 36
36: if (nargin == 1)
debug> dbstep
stopped in C:\Programs\OctaveBuild\share\octave\3.3.54+\m\plot\backend.m at
line 37
37: if (ischar (varargin{1}))
debug> dbstep
stopped in C:\Programs\OctaveBuild\share\octave\3.3.54+\m\plot\backend.m at
line 37
37: if (ischar (varargin{1}))
debug> dbstep
stopped in C:\Programs\OctaveBuild\share\octave\3.3.54+\m\plot\backend.m at
line 38
38: name = varargin{1};
debug> dbstep
stopped in C:\Programs\OctaveBuild\share\octave\3.3.54+\m\plot\backend.m at
line 55
55: if (! any (strcmp (available_backends (), name)))
debug> dbstep
stopped in C:\Programs\OctaveBuild\share\octave\3.3.54+\m\plot\backend.m at
line 55
55: if (! any (strcmp (available_backends (), name)))
debug> dbstep
stopped in C:\Programs\OctaveBuild\share\octave\3.3.54+\m\plot\backend.m at
line 56
56: feval (["__init_", name, "__"]);
debug> name
name = fltk
>From feval (["__init_", name, "__"]);, the not small amount of CPU resources
>are used.
Regards
Tatsuro
--- Tatsuro MATSUOKA wrote:
> Hello
>
> When I execute
>
> >>backend('fltk')
>
> the amount 55-80 % CPU resources are used on my old computer (Win XP
> Celeron-M 1.2 GHz) on
> recent
> development source. The platform is Windows
>
> The above happens even if no plot was carried out.
>
> I cannot
> Of course, for recent powerful computers this is not so serious.
> However, considering of use of netbook, this might not be desirable.
>
> Why only the backend('fltk') (without plots) command use large amount of the
> CPU resources?
> Is this specific to the windows.
>
> Octave 3.2.4 has an experimental version fltk backend. In the case,
>
> >>backend('fltk')
>
> does not use so much CPU resources.
>
> Anyway I will look into this using debug facilities of the octave.
>
> If someone give me suggestions, it will be grateful.
>
> Regards
>
> Tatsuro
>
>
>
>
> --------------------------------------
> Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
> http://pr.mail.yahoo.co.jp/ie8/
>
--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/