Rediģēt

Kopīgot, izmantojot


ICorProfilerCallback::JITCompilationFinished Method

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

Syntax

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

Parameters

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: See System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0

See also