Compartilhar via


Profiling Interfaces

This section describes the unmanaged interfaces that enable you to profile a program that is being executed by the common language runtime (CLR).

In This Section

  • ICorProfilerCallback Interface
    Provides methods that are used by the CLR to notify a code profiler when the events to which the profiler has subscribed occur.

  • ICorProfilerCallback2 Interface
    Provides methods that are used by the CLR to notify a code profiler when the events to which the profiler has subscribed occur. The ICorProfilerCallback2 interface is an extension of the ICorProfilerCallback interface. That is, it provides new callbacks introduced in the .NET Framework version 2.0.

  • ICorProfilerInfo Interface
    Provides methods that are used by code profilers to communicate with the CLR to control event monitoring and request information.

  • ICorProfilerInfo2 Interface
    Provides methods that are used by code profilers to communicate with the CLR to control event monitoring and request information. The ICorProfilerInfo2 interface is an extension of the ICorProfilerInfo interface. That is, it provides new methods introduced in the .NET Framework 2.0.

  • ICorProfilerObjectEnum Interface
    Provides methods to sequentially iterate through a collection of frozen objects that are generated by the Native Image Generator (Ngen.exe).

  • IMethodMalloc Interface
    Provides a method to allocate memory for a new Microsoft intermediate language (MSIL) function body.

See Also

Concepts

Profiling Overview

Profiling Global Static Functions

Profiling Enumerations

Profiling Structures