What I want to do is run the profiler for a series of repeated tests.
Between each iteration of the test the profiler should stop, set a unique file name and generate the output file using .shutdown().
for ( .....){
Profile.clear();
Profile.start();
testBody();
Profile.stop();
Profile.setFileName("logs/testIteration-"+i+".xml");...
2009-11-25 09:14:20 UTC in Java Interactive Profiler