ICorProfilerInfo4::EnumJITedFunctions2 Method
Returns an enumerator for all functions that were previously JIT-compiled and JIT-recompiled. This method replaces the ICorProfilerInfo3::EnumJITedFunctions method, which does not enumerate JIT-recompiled IDs.
Syntax
HRESULT EnumJITedFunctions([out] ICorProfilerFunctionEnum** ppEnum);
Parameters
ppEnum
[out] A pointer to the ICorProfilerFunctionEnum enumerator.
Remarks
This method may overlap with JITCompilation
callbacks such as the ICorProfilerCallback::JITCompilationStarted method. The returned enumeration includes values for the COR_PRF_FUNCTION::reJitId
field. The ICorProfilerInfo3::EnumJITedFunctions method, which this method replaces, does not enumerate JIT-recompiled IDs, because the COR_PRF_FUNCTION::reJitId
field is always set to 0. The ICorProfilerInfo4::EnumJITedFunctions
method does enumerate JIT-recompiled IDs, because the COR_PRF_FUNCTION::reJitId
field is set properly. Note that the ICorProfilerInfo4::EnumJITedFunctions2 method can trigger a garbage collection, whereas ICorProfilerInfo3::EnumJITedFunctions method will not. For more information, see CORPROF_E_UNSUPPORTED_CALL_SEQUENCE HRESULT.
Requirements
Platforms: See System Requirements.
Header: CorProf.idl, CorProf.h
Library: CorGuids.lib
.NET Framework Versions: Available since 4.5
See also
Povratne informacije
https://aka.ms/ContentUserFeedback.
Stiže uskoro: Tijekom 2024. postupno ćemo ukinuti servis Problemi sa servisom GitHub kao mehanizam za povratne informacije za sadržaj i zamijeniti ga novim sustavom za povratne informacije. Dodatne informacije potražite u članku:Pošaljite i pogledajte povratne informacije za