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.
Hi!
I've try to run the DVTexamples using the javascript of CCSv5:
C:\ti\ccsv5\ccs_base\scripting\examples\DVTExamples\go.bat (javascript_examples\FunctionProfileScript.js)
When the profiling finished, there is a "FunctionProfile_cycle.CPU.csv" file generated.
The problem is that the "Filename" field of this csv file looks like not the file path of the function but some float numbers.
======= Please see the data below(each cell corresponds to a field in "FunctionProfile_cycle.CPU.csv")
the Filename field is supposed to be instr.c or decode.c, but it's float numbers.
(If profiling the target in the ccs IDE, then in the Proflie tab we can get the correct Filename field.)
Index | Name | Calls | Excl Count Min | Excl Count Max | Excl Count Average | Excl Count Total | Incl Count Min | Incl Count Max | Incl Count Average | Incl Count Total | Filename | Line Number | Start Address |
0 | "add(char *, char *)" | 1 | 58 | 58 | 58.0 | 58.0 | 0.4800529713623572 | 94 | 94.0 | 94.0 | 0.015755290173894824 | 18 | 4416 |
1 | decode(struct FILE *) | 2 | 1806 | 2693 | 2249.5 | 4499.0 | 37.23721238205595 | 190020 | 136181.5 | 272363.0 | 45.65061805992038 | 16 | 2336 |