/**
  * Run the given generator
  *
  * @param generator
  */
 public void runGenerators(BaseGenerator generator, Collection<BenchSnippet> snippets) {
   generator.setWriteToFile(true);
   generator.setSnippets(snippets);
   generator.configure(conf);
   generator.generate();
 }