 	printf("Running %s tests...\n\n", (INSTRUMENT) ? "instrumented" : "non-instrumented");
 	
 	// Perform the specified number of test iterations
-	while (stats[0].rate.count < test_iterations) {
+	int test_iteration = 0;
+	while (test_iteration < test_iterations) {
 	
 		// If randomized-src was specified, re-roll the src
 		if (randomized_src) src = RandomNode(csr_graph.nodes);

	char *name;
	Statistic rate;
	Statistic passes;
	Statistic extra_work;
	Statistic barrier_wait;
	
	Stats() : name(NULL), rate(), passes(), extra_work(), barrier_wait() {}
	Stats(char *name) : name(name), rate(), passes(), extra_work(), barrier_wait() {}
};



			"\n"
			"--v2\tSame as --v, but also displays the input graph to the console.\n"
			"\n"
			"--instrumented\tKernels keep track of queue-passes, redundant work (i.e., the \n"
			"\t\toverhead of duplicates in the frontier), and average barrier wait (a \n"
			"\t\trelative indicator of load imbalance.\n"
			"\n"
