// Configure instrumenters
configureInstrumentation(exp);
// Configure parallel execution
exp.setTaskRunnerFactory(new ParameterizedFactory<TaskRunnerFactory>(
new ParallelComputationTaskRunnerFactory(), new ParameterBlock()
.addSubBl(ParallelComputationTaskRunnerFactory.NUM_CORES, threads)));
// Add listener
TaskRuntimeInformationListener taskRTIListener =
new TaskRuntimeInformationListener();