Jeremy Whiting - 2009-11-25

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");
       Profile.shutdown();
    }

Is this possible ?

Jeremy