I've witnessed posts in SO mentioning inlining has made their software run significantly faster [example].
It made me wonder, when should I make a function inlined for performance?
Also, would the same guidelines for C++ inlining apply?
Note:
I'm not asking when (obviously when needed), or why, I'm asking that if I happen to reach a bottleneck, when would inlining could be helpful?