Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

msWriteProfilerMark method

Writes a profiling event.

Internet Explorer 8

Syntax


HRESULT retVal = object.msWriteProfilerMark(bstrProfilerMarkName);

Parameters

bstrProfilerMarkName [in]

Type: BSTR

An event name. This parameter may be NULL.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Standards information

There are no standards that apply here.

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 IHTMLWindow6 interface, current markup, and the event name passed as bstrProfilerMarkName.

This method is useful to profile real website performance by using the operating system metrics as a baseline.

See also

Windows Events

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.