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] |
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.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.
Bye Alex
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |