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: profiling


--- Alexander Stante <mrpac@gmx.de> wrote: > Hello,
> 
> kavii ita wrote:
> > I have global counter unit on the hardware. If i
> use
> > this in prologue and epilogue of function . I can
> get
> > the time spend in the function.
> I use -finstrument-functions with the
> __cyg_profile_func_enter and 
> __cyg_profile_func_exit function to profile my code.
> With the attribute 
> "no_instrument_function" you can exclude certain
> function like irq 
> handlers from beiing instrumented. Maybe that helps.

Thanks for the pointer. gcc seems to support the 
profiling meachanism through the *PROFILE* macros.

Can I get a same amount of profiling data by
instrumenting code at function levels.

please comment.

ita
 
> Bye
> Alex 

________________________________________________________________________
Yahoo! India Careers: Over 50,000 jobs online
Go to: http://yahoo.naukri.com/


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