Condividi tramite


Metodo ICorProfilerInfo4::EnumJITedFunctions2

Restituisce un enumeratore per tutte le funzioni precedentemente compilate e ricompilate da JIT. Questo metodo sostituisce il metodo ICorProfilerInfo3::EnumJITedFunctions , che non enumera gli ID ricompilati JIT.

Sintassi

HRESULT EnumJITedFunctions([out] ICorProfilerFunctionEnum** ppEnum);  

Parametri

ppEnum
[out] Puntatore all'enumeratore ICorProfilerFunctionEnum .

Commenti

Questo metodo può sovrapporsi ai JITCompilation callback, ad esempio il metodo ICorProfilerCallback::JITCompilationStarted . L'enumerazione restituita include i valori per il COR_PRF_FUNCTION::reJitId campo. Il metodo ICorProfilerInfo3::EnumJITedFunctions , che questo metodo sostituisce, non enumera gli ID ricompilati JIT, perché il COR_PRF_FUNCTION::reJitId campo è sempre impostato su 0. Il ICorProfilerInfo4::EnumJITedFunctions metodo enumera gli ID ricompilati JIT, perché il COR_PRF_FUNCTION::reJitId campo è impostato correttamente. Si noti che il metodo ICorProfilerInfo4::EnumJITedFunctions2 può attivare un'operazione di Garbage Collection, mentre il metodo ICorProfilerInfo3::EnumJITedFunctions non lo farà. Per altre informazioni, vedere CORPROF_E_UNSUPPORTED_CALL_SEQUENCE HRESULT.

Requisiti

Piattaforme: vedere Requisiti di sistema di .NET Framework.

Intestazione: CorProf.idl, CorProf.h

Libreria: CorGuids.lib

Versioni di .NET Framework: Disponibile dalla versione 4.5

Vedi anche