How to measure cycles in simulator mode?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to measure cycles in simulator mode?

Jump to solution
2,627 Views
xuedongyang
Contributor II

Hi, NXP experts,

I am trying to measure the cycles for an assembly function in LA1224 simulator mode with some MACRO functions, like CLOCK_START() and CLOCK_END(). However, I got all "0" for the cycle count.

Did I miss anything?

xuedongyang_0-1642093263219.png

Thanks,

Xuedong Yang

0 Kudos
Reply
1 Solution
2,603 Views
yipingwang
NXP TechSupport
NXP TechSupport

In the simulator, the cycle count should be measured with Registers->Simulator Specific Registers->CycleCount.

View solution in original post

0 Kudos
Reply
2 Replies
2,604 Views
yipingwang
NXP TechSupport
NXP TechSupport

In the simulator, the cycle count should be measured with Registers->Simulator Specific Registers->CycleCount.

0 Kudos
Reply
2,598 Views
xuedongyang
Contributor II

Thank you for the guidance.

0 Kudos
Reply