3 extern unsigned iterations;
5 extern unsigned initial_nodes;
7 extern unsigned repetitions;
10 void parse_args(int argc, char **argv)
15 while ((c = getopt(argc, argv, "i:m:n:p:r:w:")) != EOF)
17 case 'i': iterations = atoi(optarg); break;
18 case 'm': multi = atoi(optarg); break;
19 case 'n': initial_nodes = atoi(optarg); break;
20 case 'p': procs = atoi(optarg); break;
21 case 'r': repetitions = atoi(optarg); break;
22 case 'w': work = atoi(optarg); break;