Sorry if it's already been mentioned somewhere, but I couldn't find anything relative.
I'd like to profile a part of the game, specifically the code under rts/Map. Setting profile to true under scons will build all the code with profile generation, which I don't need / want. Is it in any way possible to set a configuration setting for a given directory? If not - is there some other convenient way of building spring and profiling parts of it?
Thx,
mikosz
building with configurations per directory
Moderator: Moderators
Re: building with configurations per directory
If you're using Linux you can build using optimization AND debugging enabled and use oprof, a system wide profiler. (AFAIK you can set it to only record data from stack frames in a particular executable, ie. Spring)
Re: building with configurations per directory
Thx for the quick reply, I'll check it out.