This is the mail archive of the gcc@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: i am getting same profile(for gcc) for all testcases


segher....,thanx and i will try this and let you know if it works.and is
it ok if i compile everything with profiling on or shall i compile only
cc1.how will i know which part of source code comes under 'C proper'.
Jim...,i sent a sample profile in last mail i will send it again later
today as i done have it with me at home right now.but its same every time
and i am using the regression test suite given with gcc release 3.2.3 (on
gcc3.2.3).
thanx for ur help guys..

regards,
nath


>
> On 4-mrt-04, at 22:10, Jim Wilson wrote:
>> Gcc contains multiple programs.  If you compiled all of them with
>> profile info, then the profile output files may be overwriting each
>> other.  Use gcc -v to see what all the gcc driver does, and try
>> running individual programs instead of running the gcc driver.
>
> Or set the environment variable GMON_OUT_PREFIX, i.e.,
>
> 	export GMON_OUT_PREFIX=gmon
>
>
> Segher




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