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.

Line execution count in CCS?

Hello,

Im have CCS5 and am working with C6678. Context Aware Profiling wiht fucntion entry/exit hooks can easily profile at Function granularity. But I am interested in Line granularity. Is there any method where CCS can tell me that the Lines of a certain code took these many cycles and were executed these many times?


Paticularly in am interested in Execution Count of all the Lines in a code.


Thank you.

  • Hello,
    Since you are using C6678 with CCSv5, you can use the C6678 Device Cycle Accurate Simulator and Code Coverage feature to get the information you are looking for:
    processors.wiki.ti.com/.../CCS_Modules_Library

    Thanks
    ki
  • Hi Ki,

    Thanks for the reply. Yes this will work for me. I still have a few questions. Where can I find more information regarding Code Coverage? e.g I want to know what the different columns specify in the Line Coverage and Function Coverage tables.

    Also is there a way to get coverage of only selective code Lines?

    Regards
    Awaid
  • There is some documentation in the included Help that comes with CCS ('Help -> Help Contents'). However the information is a bit sparse and I don't think it explains all the columns. If you are unsure what a particular column means, I can try to explain it.

    If you are looking to have the tool only collect coverage information of only a few specified lines, I do not think that is possible. It will get all the coverage data.