Lines Matching defs:loops
117 ** INPUTS: loops
130 static PRIntervalTime ConditionNotify(PRUint32 loops)
138 notifyData.counter = loops;
171 static PRIntervalTime ConditionTimeout(PRUint32 loops)
183 for (count = 0; count < loops; ++count)
257 static PRIntervalTime Alarms1(PRUint32 loops)
270 ad.times = loops;
331 static PRIntervalTime Alarms2(PRUint32 loops)
345 ad.times = loops;
383 static PRIntervalTime Alarms3(PRUint32 loops)
400 ad[i].times = loops;
406 /* more loops, faster rate => same elapsed time */
407 ad[i].times = (i + 1) * loops;
455 const char *msg, PRUint32 (*func)(PRUint32 loops), PRUint32 loops)
464 predicted = func(loops);
487 usecs, overhead, ((double)(usecs - overhead) / (double)loops));
495 PRUint32 cpu, cpus = 0, loops = 0;
517 loops = atoi(opt->value);
530 if (loops == 0) loops = 4;
533 printf("Alarm: Using %d loops\n", loops);
550 (void)TimeThis("ConditionNotify", ConditionNotify, loops);
551 (void)TimeThis("ConditionTimeout", ConditionTimeout, loops);
552 (void)TimeThis("Alarms1", Alarms1, loops);
553 (void)TimeThis("Alarms2", Alarms2, loops);
554 (void)TimeThis("Alarms3", Alarms3, loops);