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.

Unknown labels in Trace Display

Hi,

I'm trying to understand names of labels in  Trace Display (such as "CPU instruction decode", "CPU instruction condition false", "cycleCPU", etc.) in Code Composer Studio v 5.2.0.00069. It is very important for us to understand all columns in csv file.

I used these sites:

http://processors.wiki.ti.com/index.php/Simulator_Analysis_Event_Description

2043.FULLTEXT01.pdf

I still can't find what does:

-FirstPCCount

-Times called

-Percentage (i understand that it is line coverage LinesExecuted/LinesOfCode * 100%)

mean.

Can You help me with them?

I am not sure if I really understand:

-CPU instruction decoded,

-CPU condition false,

-cycleCPU

-Inst exec count

- PC Count


Please be understanding, I'm a student on  internship.

  • Radoslaw,

    You mentioned columns in csv file ... can you clarify how you're generating this csv file. I am trying to understand what data you're working with before we can explain what the columns are.

    Thanks,

    Imtaz.

  • Radoslaw,

    I was confused about the source of the data because you mentioned code coverage and Trace Analyzer. Now I understand that you're only using the Trace Analyzer to view the CSV. You will not be able to perform any further analysis is Trace Analyzer as it expects a different data format.

    Here are the column description as best as I understand them:

    Library: true if this program address belongs to a library file

    CPU instr decoded: total number of instructions that were decoded for this source line (does not imply that these instructions were actually executed)

    CPU Inst cond false: Number of times conditional statement in this line was evaluated as condition false

    CPU Cycle: Total number of cycles spent on this line

    Inst exec count: Total number of instructions executed for this source line

    Line Count Min/Max: You already have a good explaination of this

    PC Count: Number of unique addresses executed for this source line

    Coverage: YES == at least 1 instruction was executed on this line

    FirstPCCount: Number of times the first address of this source line was executed

    Function Coverage

    Summarized the above across all source lines in the function

    Times called: number of times the fuction was called

    Lines of code: number of source lines in the function

    Lines excuted: number of source lines in the function that was covered

    Percentage: percentage of source lines (Lines executed/Lines of code * 100) in the function that were covered

     

    Let me know if I missed anything or if more info is required.

    Regards,

    Imtaz.