# Notification Interface

This is an internal profiler interface. In general, users would not be using this interface, but would be using the profiler interface.

These methods must be called to notify the profiler of an event that must be recorded. Mono's JIT engine currently calls these routines, but if you are extending Mono in some way these are the methods that you might invoke to notify the profiler of an event.

mono_profiler_load
void mono_profiler_load (const char *desc)

Parameters

> desc:
>   arguments to configure the profiler

Remarks

Invoke this method to initialize the profiler. This will drive the loading of the internal ("default") or any external profilers. This routine is invoked by Mono's driver, but must be called manually if you embed Mono into your application.

mono_profiler_allocation
Prototype: mono_profiler_allocation

mono_profiler_stat_hit
Prototype: mono_profiler_stat_hit

mono_profiler_thread_start
Prototype: mono_profiler_thread_start

mono_profiler_thread_end
Prototype: mono_profiler_thread_end

mono_profiler_appdomain_event
Prototype: mono_profiler_appdomain_event

mono_profiler_appdomain_loaded
Prototype: mono_profiler_appdomain_loaded

mono_profiler_assembly_event
Prototype: mono_profiler_assembly_event

mono_profiler_assembly_loaded
Prototype: mono_profiler_assembly_loaded

mono_profiler_class_event
Prototype: mono_profiler_class_event

mono_profiler_class_loaded
Prototype: mono_profiler_class_loaded

mono_profiler_code_transition
Prototype: mono_profiler_code_transition

mono_profiler_method_end_jit
Prototype: mono_profiler_method_end_jit

mono_profiler_method_enter
Prototype: mono_profiler_method_enter

mono_profiler_method_jit
Prototype: mono_profiler_method_jit

mono_profiler_method_leave
Prototype: mono_profiler_method_leave

mono_profiler_module_event
Prototype: mono_profiler_module_event

mono_profiler_module_loaded
Prototype: mono_profiler_module_loaded

mono_profiler_shutdown
Prototype: mono_profiler_shutdown

mono_profiler_startup
Prototype: mono_profiler_startup

mono_profiler_gc_event
Prototype: mono_profiler_gc_event

mono_profiler_gc_heap_resize
Prototype: mono_profiler_gc_heap_resize

mono_profiler_gc_event
Prototype: mono_profiler_gc_event

mono_profiler_gc_heap_resize
Prototype: mono_profiler_gc_heap_resize