Partager via


PROFILER_EVENT_MASK Enumeration

Indicates the types of events that should be profiled.

Syntax

typedef enum {  
    PROFILER_EVENT_MASK_TRACE_SCRIPT_FUNCTION_CALL = 0x00000001,  
    PROFILER_EVENT_MASK_TRACE_NATIVE_FUNCTION_CALL = 0x00000002,  
    PROFILER_EVENT_MASK_TRACE_DOM_FUNCTION_CALL    = 0x00000004,  
    PROFILER_EVENT_MASK_TRACE_ALL =  
    PROFILER_EVENT_MASK_TRACE_SCRIPT_FUNCTION_CALL |  
    PROFILER_EVENT_MASK_TRACE_NATIVE_FUNCTION_CALL,  
    PROFILER_EVENT_MASK_TRACE_ALL_WITH_DOM = PROFILER_EVENT_MASK_TRACE_ALL |  
    PROFILER_EVENT_MASK_TRACE_DOM_FUNCTION_CALL  
} PROFILER_EVENT_MASK;  

Members

Member Description
PROFILER_EVENT_MASK_TRACE_SCRIPT_FUNCTION_CALL Profiles functions that are defined in user-written script and dynamic code.
PROFILER_EVENT_MASK_TRACE_NATIVE_FUNCTION_CALL Profiles native functions that are defined by the scripting engine.
PROFILER_EVENT_MASK_TRACE_ALL Profiles all user-defined and scripting engine functions, excluding calls into the Document Object Model (DOM).
PROFILER_EVENT_MASK_TRACE_DOM_FUNCTION_CALL Profiles functions that call into the DOM.
PROFILER_EVENT_MASK_TRACE_ALL_WITH_DOM Profiles all functions, including calls into the DOM.

See also

Active Script Profiler Constants, Enumerations and Structures
IActiveScriptProfilerControl::SetProfilerEventMask
IActiveScriptProfilerControl::StartProfiling