logRequestStatistics
logRequestStatistics(samplingHandle: Integer; local: Boolean; remote: Boolean; userNumber: Integer; userText: String);
The logRequestStatistics method of the Node class specifies the request statistics that are logged for all processes in the node that are logged by invoking the NodeSampleRequestStatisticsCallBack entry point in the user library.
The Jade-supplied library automatically writes the following statistics.
-
Local request statistics record (type 8)
-
Remote request statistics record (type 9)
The logRequestStatistics method parameters are listed in the following table.
Parameter | Description |
---|---|
samplingHandle | Identifies the sampling context returned by the beginSample method when sampling for the node started |
local | Logs statistics of all requests invoked on the local node |
remote | Logs statistics of all requests from the local node to remote nodes |
userNumber | Identifies the sample in the corresponding user library invocations |
userText | In conjunction with the userNumber parameter, identifies the sample |
To enable the logging of the request statistics that you require, set the appropriate Boolean cache parameters to true. The user number and text values specified in the userNumber and userText parameters are written in the corresponding records.
The following code fragment shows an example of the logRequestStatistics method and its parameters.
node.logRequestStatistics(samplingHandle, true, true, 23, "Before method m1");
For more details, see "