Measure the running time of one function on PowerPC

cancel
Showing results for 
Search instead for 
Did you mean: 

Measure the running time of one function on PowerPC

No ratings

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. 

Version history
Revision #:
1 of 1
Last update:
‎07-27-2020 12:16 AM
Updated by: