Hi,
I am CCS v 5.3 and use eZdsp TMS320F2812. I want to use CLK_gethtime() in order to calculate the time taken to execute my calculation. However, in a simple code as shown below, I see that CLK_gethtime() always returns 350 and CLK_getltime() always returns 0. Can someone please guide me to use this correctly?
Void main()
{
unsigned int clkStartTime = CLK_gethtime();
unsigned int clkStopTime;
int i;
for(i=0; i<10000; i++)
{
// do nothing
}
clkStopTime = CLK_gethtime();
}
Thanks,
Darshana