Partilhar via


Profiling Interfaces

Describes the unmanaged interfaces that allow 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 supported 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 supported in the .NET Framework 2.0.

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