Hi
I am using following lines to find the cycle count in the LED example in CCES, subsequently to find the MIPS. But it does not print the Number of cycles. What can be possible issue with it?
#include <cycle_count.h>
#include <stdio.h>
int main(void)
{
cycle_t start_count;
cycle_t final_count;
START_CYCLE_COUNT(start_count)
Some_Function_Or_Code_To_Measure();
STOP_CYCLE_COUNT(final_count,start_count)
PRINT_CYCLES("Number of cycles: ",final_count)
};
Also can anybody shed somelight on profiling the code using cces.
Best Regards
Sri.
