The compiler treats the inline expansion options and keywords as suggestions. There is no guarantee that functions will be expanded inline. You cannot force the compiler to inline a particular function.
You can also use auto_inline to exclude functions from being considered as candidates for inline expansion. Also see intrinsic.
Information that is gathered from profiling test runs will override optimizations that would otherwise be in effect if you specify /Ob, /Os, or /Ot. For more information, Profile-Guided Optimizations.
To set this compiler option in the Visual Studio development environment