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.

Timing Analysis

Hi

I am using TI CCS5.0 for TMS470.Compiler version :TI v4.9.5 .

I am using below routine to calculate the function execution time.

#include<time.h>

start = clock();

function_test();

stop =clock();

In debug,I found that both start and stop variables are having value of 0 only.Why did clock values did not update?

Can anybody help me or any setting need to be done in the CCS to enable timing?

Regards

Shrikant 

  • Shrikant,

    What device are you using? Are you using actual hardware or the simulator.

    Your compiler suggests that you have used an ARM compiler but you have posted the query in the Single core DSP forum so it is a bit confusing.

    Regards,

    Rahul

  • Hi Rahul

    I am using simulator.. Yes by mistake i raised the question in this forum.I was doing the search for timing functions and raised question on that.

    Are you able to answer on this?

  • Shrikant,

    In your CCS Debug view under Target menu, go to Clock and select Enable. Rerun the test to see the clock output. You can also customize your clock setup under the Clock option.

    Regards,

    Rahul

  • A 3L Diamond TI C6000 Multicore Licence supports the Multicore Digital Signal Processors from Texas Instruments.The C6000 family is based on several DSP cores with several variants of each core.The DaVinci series started with systems-on-a-chip using an embedded C6000 Series (C64x+) DSP, ARM9 application processors, and Digital Media peripherals. There are variants without ARMs, and without DSPs. Their marketing focuses on their video processing capabilities. Original chips supported NTSC and PAL, while newer ones support HDTV.