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

endSample

endSample(samplingHandle: Integer;);

The endSample method of the Node class terminates the sampling of statistics on the local node 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 Node class beginSample and endSample methods.