PDA

View Full Version : Timing calculations


MIA
07-22-2004, 04:28 AM
Hi All,
I m working on DM642 DSP from TI .
I would like to know as to how can i calculate the "time taken by a
particular task/function".
The CCS ver2.21 has the profiler in that,but,it takes hell lot of time(when
using profiler,the CCS goes into Simulator MODE).
Is there any other way around?.
I have tried using DSP/BIOS object STS ,as specified in DSP/BIOS debugging
tutorial.this particular object uses CLKgettime()
function.

Thanks

MA Imran

Leon Heller
07-22-2004, 09:28 AM
"MIA" <[email protected]> wrote in message
news:[email protected] ...
> Hi All,
> I m working on DM642 DSP from TI .
> I would like to know as to how can i calculate the "time taken by a
> particular task/function".
> The CCS ver2.21 has the profiler in that,but,it takes hell lot of
time(when
> using profiler,the CCS goes into Simulator MODE).
> Is there any other way around?.
> I have tried using DSP/BIOS object STS ,as specified in DSP/BIOS debugging
> tutorial.this particular object uses CLKgettime()
> function.

You could use a 'scope and a spare output if you have one - set it high at
the beginning of the function and low at the end.

Leon

Koeleman
10-06-2005, 01:06 PM
You could also use the STS module provided by the DSP-BIOS. This wil
provide time info that can be read trough JTag, for those that dont have
mem scope.

Rick





This message was sent using the Comp.DSP web interface o
www.DSPRelated.com