Find hotspots with SWO Profile

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Find hotspots with SWO Profile

796件の閲覧回数
aballotti
Contributor I

Hi,

I wonder how to display instruction hit counts, so that hotspots in functions can be found.

Eventually could suffice to export raw PC Samples, so hit counting and sorting can be done with external tools,

can this be done in some way?

Regards

0 件の賞賛
返信
2 返答(返信)

678件の閲覧回数
converse
Senior Contributor V

Details of how to do this can be found in the MCUXpresso IDE SWO Trace Guide, which is provided when you install MCUXpresso IDE.

0 件の賞賛
返信

678件の閲覧回数
aballotti
Contributor I

I re-checked the guide but I could not find how to extract PC samples.

With SWO Profile I can see hit counts on functions but not at instruction level, there is a coverage bitmap, but the information about hit count on each instuction is discarded.

With SWO Data I can add memory mapped addresses but it seems you can't trace the PC register.

0 件の賞賛
返信