[GRASS5] 5.7: XDRIVER modification - CPU load

Markus Neteler neteler at itc.it
Thu Mar 18 10:28:01 EST 2004

Hi 5.7 users,

update to XDRIVER:
The XDRIVER should consume less CPU now when querying maps or
zooming into. I have added a nanosleep of 500 milliseconds.
We have to experiment with this value to find a good one
with respect to CPU power, operating system and sleepyness
of d.what.vect/d.zoom.

Let me know. The modified file is indicated below.


On Thu, Mar 18, 2004 at 04:22:10PM +0100, grass at intevation.de wrote:
> Author: markus
> Update of /grassrepository/grass51/display/drivers/lib
> In directory doto:/tmp/cvs-serv29397
> Modified Files:
> 	command.c 
> Log Message:
> nanosleep() added to reduce CPU load when querying/zooming into maps

More information about the grass-dev mailing list