SPNU151W January 1998 – March 2023 66AK2E05 , 66AK2H06 , 66AK2H12 , 66AK2H14 , AM1705 , AM1707 , AM1802 , AM1806 , AM1808 , AM1810 , AM5K2E04 , C346BA02 , C348A01 , CS241C01-Q1 , CS241C05-Q1 , CS246C01-Q1 , CS348C02-Q1 , OMAP-L132 , OMAP-L137 , OMAP-L138 , S470AV336LYSQRB , TMS470R1A288 , TMS470R1A384 , TMS470R1A64 , TMS470R1B1M , TMS470R1B512 , TMS470R1B768
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 |