msWriteProfilerMark
Method of dom/Elementdom/Element
Syntax
var object = object.msWriteProfilerMark(/* see parameter list */);
Parameters
bstrProfilerMarkName
- Data-type
- any
An event name. This parameter may be null.
Return Value
Returns an object of type DOM NodeDOM Node
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Notes
Remarks
Internet Explorer 10. This method is also available in the Web Worker global scope. For Windows XP, this method sends an event to an event tracing session with TraceEvent; for systems after Windows XP, this method writes an event with EventWrite. The event includes a pointer to a window object, current markup, and the event name passed as bstrProfilerMarkName. The bstrProfilerMarkName property has a 32-character limit when called from script. This method is useful to profile real website performance by using the operating system metrics as a baseline.
Syntax
Standards information
There are no standards that apply here.
See also
Related pages
window
- WorkerGlobalScopeWorkerGlobalScope
Windows Events
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]