Lets you set the hotness threshold for function grouping and function ordering.
- Is the hotness threshold.nis a percentage having a value between 0 and 100 inclusive. If you specify 0, there will be no hotness threshold setting in effect for function grouping and function ordering.
- The compiler's default hotness threshold setting of 10 percent is in effect for function grouping and function ordering.
This option lets you set the hotness threshold for function grouping and function ordering.
The "hotness threshold" is the percentage of functions in the application that should be placed in the application's hot region. The hot region is the most frequently executed part of the application. By grouping these functions together into one hot region, they have a greater probability of remaining resident in the instruction cache. This can enhance the application's performance.
For this option to take effect, you must specify option
[Q]prof-useand one of the following:
- On Linux systems:-prof-func-groupsor-prof-func-order
- On Windows systems:/Qprof-func-order