The Common Language Runtime (CLR) Profiling API is a set of native unmanaged interfaces useful for implementing .NET profilers. It primarily consists of the ICorProfilerCallback and ICorProfilerInfo interface families.
The Common Language Runtime (CLR) Profiling API is a set of native unmanaged interfaces useful for implementing .NET profilers.
The primary interfaces are:
ICorProfilerCallback
- for receiving notifications regarding various events in the CLR, including Class Loading, Just-In-Time Compilation, and Garbage Collection.ICorProfilerInfo
- for querying information regarding the different application entities, such as objects, classes, functions, modules and assemblies.
For a complete reference, refer to Microsoft's official documentation:
Microsoft Unmanaged API Reference / Profiling Interfaces.