cancel
Showing results for 
Search instead for 
Did you mean: 

Readout ST10 CPU cycles

falk
Associate II
Posted on February 28, 2005 at 05:22

Readout ST10 CPU cycles

3 REPLIES 3
falk
Associate II
Posted on February 25, 2005 at 10:52

Hi all,

I'm implementing performace tests on an evaluation board with ST10F276 CPU. The goal is to measure cycle performance with some testcases.

How/where can I readout the CPU cycles?

Thank you - Regards,

fvieweg.

najoua
Associate II
Posted on February 28, 2005 at 04:48

Hi,

There is no register providing CPU cycles number.

A simple method to do that consists on measuring the execution time of your application (using timers for example or RTC module) and knowing the CPU frequency you can detemine the CPU cycles number.

I hope I answered your question.

Najoua

falk
Associate II
Posted on February 28, 2005 at 05:22

Hi,

thanks for Your answer. I thought about this possibility but hoped for a register.

Regards,

fvieweg.