This process for arranging code layout to improve cache performance is not integrated with CCS. Using the steps in this part of the wiki article as a guide, I recommend the following. Steps 1 and 2 can be run within CCS. Note you have to manually set the --gen_profile_info option. All the steps the leading up to the creation of the preferred function order command file need to be run outside CCS, on the command line. This command file (called forder.cmd in the article) can then be added to the CCS project as one of the inputs to the linker.
[quote user="si cheng"] I can't find the .ppd file[/quote]
It is usually located in the same directory as the executable .out file.
Thanks and regards,
-George