For offline profiling, you will need to save a snapshot
at some point in order to
evaluate the data of the profiling run with JProfiler's GUI front end later on.
The saveSnapshot method in JProfiler's
profiling API does that job. For interactive
use, this method call will do nothing.
In addition, you can optionally switch on CPU profiling a a suitable point and trigger heap dumps with the profiling API.