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.

CCS/TDA4VM: Who do I profile C7x applications?

Part Number: TDA4VM


Tool/software: Code Composer Studio

Hi TI team,

I was wondering how I can profile C7x application? What is currently possible and how do I trigger profiling in CCS? I see options to create a profile for data collection, but I don't get it to work. Could you also give an overview of what measures can be profiled for C7x applications, i.e. memory access efficiency, memory - computation balance, etc... I worked a lot with the NVIDIA profiler for GPU applications and this offers a lot of insight. I know the the C7x is new and of course I don't expect a similar feature set, but a road map for what is planned would be interesting.

Thanks for any information.

Kind regards,

Florian

  • Hi Florian,

    as a starter you can check sections "3.3.6 Symbolic Debugging and Profiling Options", "3.14 Enabling Entry Hook and Exit Hook Functions" , "4.12 Debugging and Profiling Optimized Code" in "C7000 Optimizing C/C++ Compiler":

    I will check with C7xx experts for more appropriate options and will get back to you soon.

    Regards,

    Yordan

  • Hi Florian,

    In addition to what Yordan has mentioned, CCS has two options available:

    1]  a profile counter (Run->Clock->Setup/Enable).  The count value will be available in the status toolbar at the bottom of the debugger window

    2]  a "Count Event" operation exposed in the Breakpoints window (View->Breakpoints).  In the case of the Breakpoints Window, the "Count Event" operation can be added by:

    a] right clicking in an empty cell and selecting Breakpoints->Count Event
    b] right clicking on added Count Event and selecting "Breakpoint Properties"
    c] Choosing the appropriate event category via "Event Categories"
    d] Selecting one or more events that you wish to contribute to a counter
    e] Clicking "Apply and Close"

    The counter value will be presented under the "Count" column of the Breakpoint Window

    regards,

    Jason Peck