This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to instrument a program using GCC


On Fri, Feb 15, 2008 at 6:06 PM, Haifeng He <hehaifeng2nd@gmail.com> wrote:

>  I would like to instrument to program to do a value profiling of all
>  the variables in the program

See the documentation on -fprofile-generate and -fprofile-use in the
GCC documentation.


Diego.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]