[GRASS-dev] wxpython gui: speed of display

Glynn Clements glynn at gclements.plus.com
Thu Aug 24 13:41:15 EDT 2006


Moritz Lennert wrote:

>   > Beyond that, immediate rendering makes it feasible to profile d.vect
> > to find out where the CPU cycles are being spent (this isn't practical
> > when the rendering process is split between d.vect, the PNG driver,
> > and the kernel).
> > 
> > If you want to try that, you need to add -pg to CFLAGS and LDFLAGS,
> > and use --disable shared (also, there are problems with lib/init; that
> > needs to be compiled without -pg). Running any program will produce a
> > file named gmon.out, which can be analysed using gprof.
> 
> I just compiled all of GRASS with -pg, but how do I now compile lib/init 
> without it ?

	rm -rf lib/init/OBJ.<arch>
	make -C lib/init COMPILE_FLAGS=<same as before but without -pg>

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list