Freigeben über


ICorProfilerCallback::JITCompilationFinished Method

Notifies the profiler that the just-in-time (JIT) compiler has finished compiling a function.

HRESULT JITCompilationFinished(
    [in] FunctionID functionId,
    [in] HRESULT    hrStatus,
    [in] BOOL       fIsSafeToBlock);

Parameters

Parameter Description

functionId

[in] The ID of the function that was compiled.

hrStatus

[in] A value indicating whether compilation was successful.

fIsSafeToBlock

[in] A value indicating to the profiler whether blocking will affect the operation of the runtime. The value is true if blocking may cause the runtime to wait for the calling thread to return from this callback; otherwise, false.

Although a value of true will not harm the runtime, it can skew the profiling results.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorProf.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Reference

ICorProfilerCallback Interface