public static void runTaskCollection2(String taskClass, int warmups, int runs, String[] params) throws Exception {
		VisitorTaskCollection collection = TaskFactory.createTaskCollection2(taskClass, params);
		RunAllOnceThenRepeatRunner runner = new RunAllOnceThenRepeatRunner(warmups, runs);

		try {
			runner.run(collection);
		} catch (Exception e) {
			e.printStackTrace();
			throw e;
		}
	}
public static void runTaskCollection2(String taskClass, int warmups, int runs, String[] params) throws Exception {
		VisitorTaskCollection collection = TaskFactory.createTaskCollection2(taskClass, params);
		RunAllOnceThenRepeatRunner runner = new RunAllOnceThenRepeatRunner(warmups, runs);

		try {
			runner.run(collection);
		} catch (Exception e) {
			e.printStackTrace();
			throw e;
		}
	}
public static void runTaskCollection2 ( String taskClass , int warmups , int runs , String [ ] params ) throws Exception { VisitorTaskCollection collection = TaskFactory . createTaskCollection2 ( taskClass , params ) ; RunAllOnceThenRepeatRunner runner = new RunAllOnceThenRepeatRunner ( warmups , runs ) ; try { runner . run ( collection ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; throw e ; } }
TODO need a better name
TODO need a better name