Technical discussions about the TI C6000 DSPs (including the c62x, c64x and c67x DSPs).
|
Hi all
I m working on DM642 and having some basic questions...
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.??
its not giving desired results..
thanks
MA Imran
|
|
Hi Suba
thanks for the reply.
The DSP/BIOS tutorial says that if ur C6000 processor is running at MIPS
other that 100 then ,we have to multiply the DSP/BIOS STS object MAx value vth
(my MIPS/100).if that is the case then we will also be multiplying the value of
STS object vth 4 and also since DM642 (600/100)that is 6.
so,do we have to multiply total of 24 with the CLK_gethtime() value.
Also,when i see the help for CLK_countspms() in CLK_module,i came across
the following which uses....
timeAbs in milliseconds=CLK_getltime() * (CLK_getprd())) /
CLK_countspms();
have u used this earlier..???
thanks and Regards
MA Imran
ravibsuba <r...@yahoo.com> wrote:
|