Export (0) Print
Expand All

ICorProfilerCallback4::GetReJITParameters Method

.NET Framework 4.5

Allows the code profiler to set alternate code generation flags for a new recompiled method body.

HRESULT GetReJITParameters(
     [in] ModuleID moduleId,
     [in] mdMethodDef methodId,
     [in] ICorProfilerFunctionControl *pFunctionControl);

moduleID

[in] The module that contains the method for which the CLR needs JIT recompilation parameters.

methodId

[in] The MethodDef of the method for which the CLR needs JIT recompilation parameters.

pFunctionControl

[in] A pointer to an ICorProfilerFunctionControl interface that the profiler can use to provide JIT recompilation information for the method being recompiled.

The CLR issues a GetReJITParameters callback so that the profiler can specify the parameters for recompiling a given method. The GetReJITParameters callback is issued only once per function; the parameters supplied by the profiler apply to all instances of that function.

Platforms: See .NET Framework System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: 4.5

Show:
© 2014 Microsoft