DSPRelated.com
Forums

optimization

Started by nadism Youcef April 22, 2008
Hi all,
i want to know the diffrence bettween debug project and release project.
and how i can use the simulator for measure the size and the execution time for my program.
for the information ,i'm using DSk C6713.

thanks all.and GOD bless u .
____________________________________________________________________________________
nadism,

the main difference between the debug project and the release project is:
the debug project .out file contains all the symbol names, addresses, line numbers, and other debug
information. (and it usually is not optimized)

R. Williams
---------- Original Message -----------
From: nadism Youcef
To: c...
Sent: Tue, 22 Apr 2008 12:32:19 -0700 (PDT)
Subject: [c6x] optimization

> Hi all,
> i want to know the diffrence bettween debug project and release project.
> and how i can use the simulator for measure the size and the execution time for my
> program. for the information ,i'm using DSk C6713.
>
> thanks all.and GOD bless u .
>
> ____________________________________________________________________________________
>
------- End of Original Message -------
Hi,
You can select yourself the compilation options for each project you create. (you can create more than just debug and release), usually in release you remove every non necessary code, options, and compile in -o2 instead of no optimisation, harder to debug, but goes faster :-)
Hi,
determining the code size and execution time is an objective of the Application Code Tuning - use the Help. You can find these tools in menu Profile->Setup.

Simplest way to measure cyclecount of some part of your code is the Clock (Profile->Clock->Wiev).

If you are using DSP BIOS, you can see actual time demands of all your tasks in Statistics View. This is useful when testing in real hardware with real (=slow) memory.

Petr

Hi all,
>i want to know the diffrence bettween debug project and release project.
>and how i can use the simulator for measure the size and the execution time for my program.
>for the information ,i'm using DSk C6713.
>
>thanks all.and GOD bless u .
> ____________________________________________________________________________________
>
>