This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
profiling support
- From: kavii ita <systemonchip2000 at yahoo dot co dot in>
- To: gcc at gnu dot org
- Date: Fri, 9 Jul 2004 08:13:00 +0100 (BST)
- Subject: profiling support
Hello,
I am trying to explore the gcc 's profiling support.It
is has great support for instrumenting application
with profiling code.It is quiet useful for me.
But it uses profil()/ settimer functionality to
generate the time signal in native gcc. I am afraid
profil() or settimer functional support is not there
for the targets without any OS sitting on it.
How does the profiling works on other embedded targets
in gcc world?
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.
Can I make a use of this to replace profil()
functionality ? I want to replace native calls mcount
and monstartup
with my code which will using hardware timer. Can I
get implement flat profile/call graph profile
Any pointers regarding this would be useful.
Regards,
-ita
________________________________________________________________________
Yahoo! India Careers: Over 50,000 jobs online
Go to: http://yahoo.naukri.com/