mscorlib(4.0.0.0) API with additions
System.Runtime.ProfileOptimization Class Reference

Improves the startup performance of application domains in applications that require the just-in-time (JIT) compiler by performing background compilation of methods that are likely to be executed, based on profiles created during previous compilations. More...

Static Public Member Functions

static void SetProfileRoot (string directoryPath)
 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. More...
 
static void StartProfile (string profile)
 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. More...
 

Detailed Description

Improves the startup performance of application domains in applications that require the just-in-time (JIT) compiler by performing background compilation of methods that are likely to be executed, based on profiles created during previous compilations.

Definition at line 8 of file ProfileOptimization.cs.

Member Function Documentation

◆ SetProfileRoot()

static void System.Runtime.ProfileOptimization.SetProfileRoot ( string  directoryPath)
static

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.

Parameters
directoryPathThe full path to the folder where profile files are stored for the current application domain.

Definition at line 23 of file ProfileOptimization.cs.

◆ StartProfile()

static void System.Runtime.ProfileOptimization.StartProfile ( string  profile)
static

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.

Parameters
profileThe file name of the profile to use.

Definition at line 31 of file ProfileOptimization.cs.


The documentation for this class was generated from the following file: