This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C6748 Profile Code

Team,

I was looking at what options were available for BIOS on the 6748 to profile code.  I found that the CCSV5 profiling tools do not work on the C6748 due to a cache issue, so was looking at BIOS to help: http://processors.wiki.ti.com/index.php/FAQ_-_CCSv4#Q:_Why_is_function_profiling_not_supported_on_C6000_hardware.3F

Today I profile each critical function by doing something like this, but was curiuos if there was a better way:

#include <clk.h>

unsigned int start, stop, delta;

start = CLK_gethtime();

// code to be benchmarked

stop = CLK_gethtime();

delta = stop - start;  // number of elapsed CPU cycles

Thank you,

-Jason