Hi,
I have a problem with using clock in code composer, the clock count goes quite different.
I have a function with two loops:
for(int i=0;i<128;i++)
{
for(int j=0;j<8;j++)
{
...
...
}
}
Whem I run this code, with two break points before and after the loop, the clock showed 250,000 (for this part)
For some reasons I had to move these lines to a function, the clock this time was much higher, 350,000
1- What might be the reason for this
2- when I run the loops using single step for every line, it needs only 104 clocks for the inside loop, so the total should be something like
104*8*128=106496, (106496<<350000)
what is happening?
Thanks a lot,
Behzad