[GRASS5] [bug #3087] (grass) high cpu usage
Glynn Clements
glynn at gclements.plus.com
Sun Mar 13 19:05:06 EST 2005
Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=3087
> Subject: high cpu usage
> GRASS Version: 6.0.0
>
> some commands, like d.zoom, d.what.rast or d.what.vect using about 50%
> or more of cpu resources. there is no problem with this in grass54. my
> cpu is pentium 4 2.8ghz.
This is a known problem with all programs which use the mouse.
Essentially, to prevent the program from pausing until a mouse button
is pressed, the code (libraster) polls for mouse events in a busy-wait
rather than blocking until a mouse event is received (as was the case
in 5.4 and earlier).
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list