[Scons-users] profiling with scons

Gary Oberbrunner garyo at oberbrunner.com
Mon Jul 16 07:05:10 EDT 2012


That option helps you profile SCons itself, not the program being built.
Sorry that's not too helpful.
On Jul 15, 2012 9:59 PM, "Karen Khar" <karen.khar at gmail.com> wrote:


> Hi,

>

> Thanks for getting back to me. My program is a component of a large suite

> of programs which I compile with gcc through scons. I am unable to compile

> without scons because the whole suite is necessary. The suite uses scons with

> some extensions. scons.py implemented as a Python script. I don't know

> anything about linkers. I tried to use gprof, but the -pg command, but it

> is incompatible when compiling with scons. Am I out of luck?

>

> I read this in scons man:

>

> --profile=*file*Run SCons under the Python profiler and save the results

> in the specified *file*. The results may be analyzed using the Python

> pstats module.

>

> _______________________________________________

> Scons-users mailing list

> Scons-users at scons.org

> http://four.pairlist.net/mailman/listinfo/scons-users

>

>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20120716/809c12e3/attachment.htm>


More information about the Scons-users mailing list