Adds detailed timers for the last page to the time series data.
Adds following timers to the “Timer” section:
<timername> - Connect
<timername> - DNS
<timername> - Recv
<timername> - Send
<timername> - ServerBusy
<timername> - SSL Handshake
The nOption parameter specifies which portion of the page should be measured. To execute this function for every page level call with a provided timername use the WebSetOption function.
WebAPI.bdh
WebPageStatToTsd( in sTimer : string, in nSource : number ): boolean;
true if successful
false otherwise
Parameter | Description |
---|---|
sTimer | Specifies the prefix, used to compose the complete timer names. |
nSource |
Specifies for which part of the page should be measured. This parameter must be one of the following values:
|
dcltrans transaction TMain begin WebPageUrl("http://standardhost/"); WebPageStatToTsd("Homepage", STATFLAG_All); WebPageLink("click here"); WebPageLink("again"); WebPageStatToTsd("Project view", STATFLAG_HtmlDoc ); end TMain;