SPRU514Z July 2001 – October 2023 SM320F28335-EP
The code generation tools include a tool called the Profile Data Decoder or pdd2000, which is used for post processing profile data (PDAT) files. The pdd2000 tool generates a profile feedback (PRF) file. See Section 3.7.1 for a discussion of where pdd2000 fits in the profiling flow. The pdd2000 tool is invoked with this syntax:
pdd2000 -e exec.out -o application.prf filename.pdat |
-a | Computes the average of the data values in the data sets instead of accumulating data values |
-e exec.out | Specifies exec.out is the name of the application executable. |
-o application.prf | Specifies application.prf is the formatted profile feedback file that is used as the argument to --use_profile_info during recompilation. If no output file is specified, the default output filename is pprofout.prf. |
filename.pdat | Is the name of the profile data file generated by the run-time-support function. This is the default name and it can be overridden by using the host environment variable TI_PROFDATA. |
The run-time-support function and pdd2000 append to their respective output files and do not overwrite them. This enables collection of data sets from multiple runs of the application.
The pprofout.pdat file generated by the run-time support is a raw data file of a fixed format understood only by pdd2000. You should not modify this file in any way.