Product Information > JADE Object Manager Guide > Chapter 4 - JADE System Instrumentation and Diagnosis > endSample

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.

The JADE-supplied library automatically writes the record trailer (type 20) and then 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.