endSample
endSample(samplingHandle: Integer);
The endSample method of the System class terminates the sampling of statistics on each of the nodes in the sample definition group for the context identified by the samplingHandle parameter and invokes the following entry points.
-
NodeSampleNodeInfoCallBack, passing it information about the local node and setting the eventType parameter in the user library entry point to 2.
-
NodeSampleInfoCallBack, which your user library should consider the last call for the node sampling context.
The Jade-supplied library closes and releases the current sampling file, which you can then analyze.
You can produce multiple files during a node lifetime, by using the System class beginSample and endSample methods, but you cannot sample statistics simultaneously on the same node.
For more details, see