Comment by Asooka
10 months ago
If your small function is not getting inlined, you should investigate why that is instead of globally breaking performance analysis of your code.
10 months ago
If your small function is not getting inlined, you should investigate why that is instead of globally breaking performance analysis of your code.
A typical case would be C++ virtual member functions. (They can sometimes be devirtualized, or speculatively partially devirtualized, using LTO+PGO, but there are lots of legitimate cases where they cannot.)