SPRU514Z July 2001 – October 2023 SM320F28335-EP
Options
--gen_profile_info | Adds instrumentation to the compiled code. Execution of the code results in profile data being emitted to a PDAT file. |
--use_profile_info=file.prf | Uses profile information for optimization and/or generating code coverage information. |
--analyze=codecov | Generates a code coverage information file and continues with profile-based compilation. Must be used with --use_profile_info. |
--analyze_only | Generates only a code coverage information file. Must be used with --use_profile_info. Specify both --analyze=codecov and --analyze_only to do code coverage analysis of the instrumented application. |
Host Environment Variables
TI_PROFDATA | Writes profile data into the specified file |
TI_COVDIR | Creates code coverage files in the specified directory |
TI_COVDATA | Writes code coverage data into the specified file |
API
_TI_start_pprof_collection() | Clears the profile counters to file |
_TI_stop_pprof_collection() | Writes out all profile counters to file |
PPHDNL | Device driver handle for low-level C I/O based driver for writing out profile data from a target program. |
Files Created
*.pdat | Profile data file, which is created by executing an instrumented program and used as input to the profile data decoder |
*.prf | Profiling feedback file, which is created by the profile data decoder and used as input to the re-compilation step |