.NET Framework 4.6 and 4.5
The ProfileOptimization type exposes the following members.
|SetProfileRoot||Enables optimization profiling for the current application domain, and sets the folder where the optimization profile files are stored. On a single-core computer, the method is ignored.|
|StartProfile||Starts just-in-time (JIT) compilation of the methods that were previously recorded in the specified profile file, on a background thread. Starts the process of recording current method use, which later overwrites the specified profile file.|