Measure the running time of one function on PowerPC

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Measure the running time of one function on PowerPC

Measure the running time of one function on PowerPC

Hi, 

    Some of PowerPC cores contain time base which could be the ruler to measure the running time of codes.

    Generally, e200z4, e200z7 have such registers, RBL and TBU. They are SPR284 and SPR285. 

    Sample codes could be taken the reference within AN2865SW(Timebase project) .

 Enjoy the measuring!

Cheers!

Oliver

BTW, measure the running time of one function on S32K could also be gotten through the link. 

无评分
版本历史
最后更新:
‎07-27-2020 12:16 AM
更新人: