Lines Matching refs:run
176 volatile bool *run;
192 // Spinloop waiting for the run variable to get set to true.
193 while (!*arg->run) {
197 for (int run = 1; ; run++) {
198 arg->bench->run();
199 if (!*arg->run) {
204 avg_mb = (avg_mb/run) * (run-1) + arg->bench->mb_per_sec()/run;
239 printf("Calculating optimum run time...\n");
241 bench->run();
259 volatile bool run = false;
263 args[i].run = &run;
273 run = true;
275 // Let the threads run.
279 run = false;
415 (*it)->run();