DSPRelated.com
Forums

Timing calculations

Started by MIA July 22, 2004
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
"MIA" <imran_akthar@hotmail.com> wrote in message
news:b36ae06a.0407211928.ec1cbf@posting.google.com...
> 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
You could also use the STS module provided by the DSP-BIOS. This will
provide time info that can be read trough JTag, for those that dont have a
mem scope.

Rick




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