Lines Matching refs:stages
31 * There are a series of work stages. Each stage has an input and an output
33 * stages are consumers. By defuaut there are 2 stages. There are N producer
130 " [-s S] Number of stages (2)\n"
327 int stages = 2;
356 stages = atoi(optarg);
357 if (stages >= WORKERS_MAX)
388 threads = consumers * (stages - 1) + producers;
392 stages - 1, s_if_plural(stages - 1),
409 stage_info = (stage_info_t *) malloc(stages * sizeof(stage_info_t));
413 for (i = 0; i < stages; i++) {
428 sp->output = &stage_info[(i + 1) % stages].bufq;
462 for (i = 1; i < stages; i++) {