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.

Compiler/LAUNCHXL-F28379D: Ways to decrease the execution time

Part Number: LAUNCHXL-F28379D

Tool/software: TI C/C++ Compiler

Hi,

I have a code which is being executed on CPU1 (FLASH memory linker). The execution time is around 150 ms. But I need it to be 2ms. Is there any suggestion for achieving it?  

Thanks and Regards,

Satheesh

  • Strongly consider using the highest setting of the compiler options --opt_level and --opt_for_speed.  Please search for those options in the C28x compiler manual.  For the functions which are most critical for fast execution, consider using the ramfunc attribute.  For more on that attribute, please search the same manual for the sub-chapter titled Function Attributes.

    If you still fall short of your goal, then you need to consider whether you have made the best choices of how to allocate code and data to the different kinds of memory in your system.  Let me know if that is the case, and I will inform the relevant experts about this thread.

    Thanks and regards,

    -George