Lines Matching defs:loops
169 static int Stress(int loops, int threads)
172 for (int i = 0; i < loops; i++) {
173 printf("Loop %d of %d\n", i+1, loops);
206 static int StressNSPR(int loops, int threads)
209 for (int i = 0; i < loops; i++) {
210 printf("Loop %d of %d\n", i+1, loops);
249 int loops;
252 !(loops = atoi(argv[2]+1)) || !(threads = atoi(argv[3]+1))) {
256 printf("Running stress test with %d loops of %d threads each\n",
257 loops, threads);
258 retval = Stress(loops, threads);
261 int loops;
264 !(loops = atoi(argv[2]+1)) || !(threads = atoi(argv[3]+1))) {
268 printf("Running stress test with %d loops of %d threads each\n",
269 loops, threads);
270 retval = StressNSPR(loops, threads);