2008-08-21 06:26:39     profiling

Document created by Aaronwu Employee on Aug 7, 2013
Version 1Show Document
  • View in full screen mode

2008-08-21 06:26:39     profiling

suresh kumar (INDIA)

Message: 60819   

 

how to  do profiling for bf537 application program in DDD or GNAT.

QuoteReplyEditDelete

 

 

2008-08-21 06:40:06     Re: profiling

Yi Li (CHINA)

Message: 60822   

 

please read: http://sourceware.org/binutils/docs/gprof/index.html

 

I'd think you mean how to profile using gnu toolchain - answer is using gprof.

 

(So you've read above doc), although blackfin gcc support "-pg" option, you would have to implement your own "_mcount" routine to do real profiling thing.

QuoteReplyEditDelete

 

 

2008-08-22 02:04:40     Re: profiling

suresh kumar (INDIA)

Message: 60863   

 

Thanks li

 

i have some doubt the profiling is only possible for c and c++ program.is it possible for blackfin assembly program ?

QuoteReplyEditDelete

 

 

2008-08-22 02:25:01     Re: profiling

Yi Li (CHINA)

Message: 60864   

 

If you mean profiling using  "gprof" - yes.

QuoteReplyEditDelete

 

 

2008-08-22 04:49:22     Re: profiling

suresh kumar (INDIA)

Message: 60903   

 

Hi li

 

yes,gprof only possible for c,c++.

 

what about blackfin537 assembly program?

 

 

QuoteReplyEditDelete

 

 

2008-08-22 09:53:26     Re: profiling

Mike Frysinger (UNITED STATES)

Message: 60915   

 

you would have to insert all the profiling directives yourself.  so the short answer is: no.

QuoteReplyEditDelete

 

 

2008-08-25 02:10:08     Re: profiling

suresh kumar (INDIA)

Message: 60969   

 

Thanks mike

Attachments

    Outcomes