Part Number: MSP432P401R
Tool/software: Code Composer Studio
I'm I'm trying to find out how many cycles a loop takes. I'm using the cycle count feature in the breakpoint window of the ccs debugger. If I step through the block of code, I get a lot more cycles then if I were to execute the whole loop. For example, if I step through, I calculate that one interation of the loop is 2 cycles. So, assuming that if I execute the loop 1000 times, I should only get about 2000 cycles. However if I run the whole loop, I end up with something like 12,000 cycles. What am I doing wrong?
Thanks,
John
