iJIT_NotifyEvent

Function iJIT_NotifyEvent 

Source
pub unsafe extern "C" fn iJIT_NotifyEvent(
    event_type: iJIT_JVM_EVENT,
    EventSpecificData: *mut c_void,
) -> c_int
Expand description

@brief Reports infomation about JIT-compiled code to the agent.

The reported information is used to attribute samples obtained from any Intel(R) VTune(TM) Profiler collector. This API needs to be called after JIT compilation and before the first entry into the JIT-compiled code.

@param[in] event_type - type of the data sent to the agent @param[in] EventSpecificData - pointer to event-specific data

@returns 1 on success, otherwise 0.