IActiveScriptProfilerCallback::OnFunctionExit
Notifies the profiler object that the scripting engine finished executing a function call that is not a call into the Document Object Model (DOM).
HRESULT OnFunctionExit(
[in] PROFILER_TOKEN scriptId,
[in] PROFILER_TOKEN functionId);
scriptId
[in] The unique ID of the script that the function is part of. This ID is assigned by the scripting engine.
functionId
[in] The unique ID of the function. This ID is assigned by the scripting engine.
The return value of this method is ignored by the scripting engine.
For DOM calls, the scripting engine calls IActiveScriptProfilerCallback2::OnFunctionExitByName instead of IActiveScriptProfilerCallback::OnFunctionExit
. This is due to the large number of unique methods and properties in the DOM.
IActiveScriptProfilerCallback::OnFunctionEnter
IActiveScriptProfilerCallback Interface