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.
after getting the function profilie results from DSS i get the following columns in the csv file :
Index:com.ti.dvt.datamodel.core.ULong |
Name:com.ti.dvt.datamodel.core.Label |
Calls:com.ti.dvt.datamodel.core.ULong |
Excl Count Min:com.ti.dvt.datamodel.core.ULong |
Excl Count Max:com.ti.dvt.datamodel.core.ULong |
Excl Count Average:com.ti.dvt.datamodel.core.Average |
Excl Count Total:com.ti.dvt.datamodel.core.FloatingPoint |
Incl Count Min:com.ti.dvt.datamodel.core.ULong |
Incl Count Max:com.ti.dvt.datamodel.core.ULong |
Incl Count Average:com.ti.dvt.datamodel.core.Average |
Incl Count Total:com.ti.dvt.datamodel.core.FloatingPoint |
Filename:com.ti.dvt.datamodel.core.Label |
Line Number:com.ti.dvt.datamodel.core.UInteger |
Start Address:com.ti.dvt.datamodel.core.UInteger
|
However I want to get also the columns I see in the GUI profiler such as : percentage , lines of code ,line executed.
How can I get them via dss profiling ?
Thanks,
Itai.
Hello Itai,
Itai Guez said:However I want to get also the columns I see in the GUI profiler such as : percentage , lines of code ,line executed.
That data comes from the Code Coverage tool, not the Function Profiling tool. You'll need to enable code coverage also:
profileSetup.getActivity("Collect Code Coverage and Exclusive Profile Data");
Thanks
ki
in code coverage reports i get the following columns :
CPU instruction decoded:com.ti.dvt.datamodel.core.ULong
CPU instruction condition false:com.ti.dvt.datamodel.core.ULong
cycleCPU:com.ti.dvt.datamodel.core.ULong
Inst exec count:com.ti.dvt.datamodel.core.UInteger
Symbol Address:com.ti.dvt.datamodel.core.UInteger
Filename:com.ti.dvt.datamodel.core.Label
Function:com.ti.dvt.datamodel.core.Label
Line Number:com.ti.dvt.datamodel.core.UInteger
Library:com.ti.dvt.datamodel.core.BooleanFlag
LineCountMin:com.ti.dvt.datamodel.core.UInteger
LineCountMax:com.ti.dvt.datamodel.core.UInteger
PC Count:com.ti.dvt.datamodel.core.UInteger
Coverage:com.ti.dvt.datamodel.core.Label
FirstPCCount:com.ti.dvt.datamodel.core.UInteger
and in the events options i see those :
PROPERTY VALUE ALLOWED VALUES DISABLED EDITABLE
| -------- ----- -------------- -------- --------
| Events.CPU.access.data.read false false true
| Events.CPU.access.data.write false false true
| Events.CPU.access.summary false false true
| Events.CPU.discontinuity.interrupt.missed.INT10 false false true
| Events.CPU.discontinuity.interrupt.missed.INT11 false false true
| Events.CPU.discontinuity.interrupt.missed.INT12 false false true
| Events.CPU.discontinuity.interrupt.missed.INT13 false false true
| Events.CPU.discontinuity.interrupt.missed.INT14 false false true
| Events.CPU.discontinuity.interrupt.missed.INT15 false false true
| Events.CPU.discontinuity.interrupt.missed.INT4 false false true
| Events.CPU.discontinuity.interrupt.missed.INT5 false false true
| Events.CPU.discontinuity.interrupt.missed.INT6 false false true
| Events.CPU.discontinuity.interrupt.missed.INT7 false false true
| Events.CPU.discontinuity.interrupt.missed.INT8 false false true
| Events.CPU.discontinuity.interrupt.missed.INT9 false false true
| Events.CPU.discontinuity.interrupt.missed.NMI false false true
| Events.CPU.instruction.condition_false true true false
| Events.CPU.instruction.decoded false false true
| Events.CPU.instruction.executed false false true
| Events.CPU.stall.crosspath false false true
| Events.CPU.NOP false false true
| Events.CPU.execute_packet false false true
| Events.CPU.idle false false true
| Events.cycle.CPU true true false
| Collection Options.Maximum Events 12 false false
|========================================================================================================================
I can't see the ones I am looking for : percentage , lines of code ,line executed.
Also , in the CCS gui the columns I am looking for is in the function coverage tab.
Another important question, is it possible to highlight coverage info in editor from the dss genereated csv files ?
I can't see such button when loading the csv file.