Searched defs:loops (Results 1 - 24 of 24) sorted by relevance

/vbox/src/libs/xpcom18a4/nsprpub/pr/src/cplus/tests/
H A Dinterval.cpp59 PRIntn msecs, seconds, loops, iterations = DEFAULT_ITERATIONS; local
114 for (loops = 0; loops < iterations; ++loops)
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Dstrod.c58 PRIntn loops = 1; local
73 loops = atoi(opt->value);
87 PR_fprintf(err, "\tLoops to run test: %d\n", loops);
89 while (loops--)
H A Dfsync.c65 PRUint32 index, loops, iterations = 10, filesize = 10; local
114 for (loops = 0; loops < iterations; ++loops)
H A Dmany_cv.c74 PRIntn nc, loops = 1, cvs = 10; local
90 loops = atoi(opt->value);
102 PR_fprintf(err, "\tLoops to run test: %d\n", loops);
116 for (index = 0; index < loops; ++index)
H A Dconcur.c100 PRUintn loops = DEFAULT_LOOPS; local
118 loops = atoi(opt->value);
127 if (0 == loops) loops = DEFAULT_LOOPS;
134 PR_STDERR, "Testing with %d CPUs and %d interations\n", range, loops);
137 while (--loops > 0)
H A Dinrval.c108 PRUint32 elapsed, per_call, loops = 1000000; local
111 while (--loops > 0)
123 PRInt32 overhead, loops = 1000000; local
130 while (--loops > 0)
173 PRUint32 vcpu, cpus = 0, loops = 1000; local
198 loops = atoi(opt->value);
210 if (loops == 0) loops = 1000;
214 PR_fprintf(output, "Inrval: Using %d loops\n", loops);
[all...]
H A Dlockfile.c92 PRInt32 loops; member in struct:LockContentious_s
101 static PRIntervalTime NonContentiousLock(PRInt32 loops) argument
104 while (loops-- > 0)
124 while (contention->loops-- > 0)
146 static PRIntervalTime ContentiousLock(PRInt32 loops) argument
152 contention.loops = loops;
163 while (contention.loops > 0)
179 const char* msg, PRIntervalTime (*test)(PRInt32 loops),
180 PRInt32 loops, PRIntervalTim
178 Test( const char* msg, PRIntervalTime (*test)(PRInt32 loops), PRInt32 loops, PRIntervalTime overhead) argument
214 PRInt32 loops = 100; local
[all...]
H A Dselect2.c156 PRInt32 loops = 0; local
162 loops++;
241 PRInt32 bytesRead, rv, loops = 0; local
243 loops++;
H A Dstack.c76 PRInt32 loops; member in struct:stack_data
96 PRInt32 loops = DEFAULT_LOOP_CNT; local
118 loops = atoi(opt->value);
156 thread_args[cnt].loops = loops;
241 PRInt32 val, cnt, index, loops; local
249 loops = arg->loops;
279 while (loops-- > 0) {
H A Dalarm.c117 ** INPUTS: loops
130 static PRIntervalTime ConditionNotify(PRUint32 loops) argument
138 notifyData.counter = loops;
171 static PRIntervalTime ConditionTimeout(PRUint32 loops) argument
183 for (count = 0; count < loops; ++count)
257 static PRIntervalTime Alarms1(PRUint32 loops) argument
270 ad.times = loops;
331 static PRIntervalTime Alarms2(PRUint32 loops) argument
345 ad.times = loops;
383 static PRIntervalTime Alarms3(PRUint32 loops) argument
454 TimeThis( const char *msg, PRUint32 (*func)(PRUint32 loops), PRUint32 loops) argument
495 PRUint32 cpu, cpus = 0, loops = 0; local
[all...]
H A Dcvar2.c45 ** other half have their own condvar. The main thread then loops
85 PRInt32 loops; member in struct:threadinfo
106 for (index=0; index<info->loops; index++) {
133 for (index=0; index<info->loops; index++) {
163 PRInt32 loops,
176 info->loops = loops;
199 PRInt32 index, loops; local
233 for (loops = 0; loops < coun
159 CreateTestThread(threadinfo *info, PRInt32 id, PRLock *lock, PRCondVar *cvar, PRInt32 loops, PRIntervalTime timeout, PRInt32 *tcount, PRLock *exitlock, PRCondVar *exitcvar, PRInt32 *exitcount, PRBool shared, PRThreadScope scope) argument
269 PRInt32 index, loops; local
343 PRInt32 index, loops; local
429 PRInt32 index, loops; local
510 PRInt32 index, loops; local
643 PRInt32 index, loops; local
754 PRInt32 index, loops; local
[all...]
H A Dlock.c57 ** - l <num> to control the number of loops
105 PRInt32 loops; member in struct:LockContentious_s
114 PRInt32 loops; member in struct:MonitorContentious_s
122 static PRIntervalTime Sleeper(PRUint32 loops) argument
125 while (loops-- > 0)
136 static PRIntervalTime MakeLock(PRUint32 loops) argument
139 while (loops-- > 0)
148 static PRIntervalTime NonContentiousLock(PRUint32 loops) argument
152 while (loops-- > 0)
164 while (contention->loops
174 ContentiousLock(PRUint32 loops) argument
218 MakeMonitor(PRUint32 loops) argument
230 NonContentiousMonitor(PRUint32 loops) argument
253 ReentrantMonitor(PRUint32 loops) argument
298 ContentiousMonitor(PRUint32 loops) argument
342 NonContentiousCMonitor(PRUint32 loops) argument
366 ContentiousCMonitor(PRUint32 loops) argument
405 Test( const char* msg, PRUint32 (*test)(PRUint32 loops), PRUint32 loops, PRIntervalTime overhead) argument
444 PRUint32 cpu, cpus = 2, loops = 100; local
[all...]
H A Dranfile.c257 ** default values: loops = 2, threads = 10, limit = 57
271 ** 6) For [0..'loops') repeat [1..5]
275 ** Random File: Using loops = 2, threads = 10, limit = 57
285 int limit = 0, loops = 0, threads = 0, times; local
316 loops = atoi(opt->value);
339 if (loops == 0) loops = DEFAULT_LOOPS;
344 "%s: Using loops = %d, threads = %d, limit = %d and %s threads\n",
345 programName, loops, threads, limit,
348 for (times = 0; times < loops;
[all...]
H A Dserver_test.c197 PRInt32 loops = 0; local
199 loops++;
H A Dservr_kk.c163 PRInt32 loops = 0; local
165 loops++;
H A Dservr_ku.c164 PRInt32 loops = 0; local
166 loops++;
H A Dservr_uk.c166 PRInt32 loops = 0; local
168 loops++;
H A Dservr_uu.c164 PRInt32 loops = 0; local
166 loops++;
/vbox/src/libs/xpcom18a4/xpcom/tests/
H A DTestThreads.cpp169 static int Stress(int loops, int threads) argument
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) argument
209 for (int i = 0; i < loops; i++) {
210 printf("Loop %d of %d\n", i+1, loops);
249 int loops; local
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, thread
261 int loops; local
[all...]
/vbox/src/VBox/HostDrivers/VBoxUSB/win/cmn/
H A DVBoxDrvTool.cpp190 size_t loops = 0; local
196 while ((cRefs = ASMAtomicReadU32(&pRef->cRefs)) > u32Val && loops < 256)
204 loops++;
/vbox/src/libs/xpcom18a4/nsprpub/lib/msgc/tests/
H A Dthrashgc.c84 static PRInt32 loops = 1000; variable
149 for (i = 0; i < loops; i++) {
169 PR_GetCurrentThread(), loops,
182 fprintf(stderr, "Usage: %s [-t threads] [-l loops]\n", progname);
184 printf("Usage: %s [-t threads] [-l loops]\n", progname);
210 loops = atoi(argv[++i]);
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/BsdSocketLib/
H A Dres_send.c374 int done = 0, loops = 0; local
392 if (++loops < 42) /*doug adams*/
875 int done = 0, loops = 0; local
892 if (++loops < 42) /*doug adams*/
/vbox/src/recompiler/
H A Dcutils.c166 size_t loops; local
199 * swapi and swapb will also require the variable loops to be set
204 loops = 1;
208 loops = 1;
212 loops = rsiz / sizeof (int);
215 loops = rsiz;
263 (*swapf)(b_par, b_par + rsiz, loops);
382 (*swapf)(b_dup, b_par, loops);
401 (*swapf)(t_dup, t_par, loops);
413 (*swapf)(b_par, t_par, loops);
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/tg3/
H A Dtg3_phy.c89 unsigned int loops; local
108 loops = PHY_BUSY_LOOPS;
109 while (loops != 0) {
118 loops -= 1;
122 if (loops != 0) {
225 unsigned int loops; local
247 loops = PHY_BUSY_LOOPS;
248 while (loops != 0) {
256 loops -= 1;
260 if (loops !
[all...]

Completed in 2718 milliseconds