Home
last modified time | relevance | path

Searched refs:SCALABILITY_FACTOR (Results 1 – 25 of 34) sorted by relevance

12

/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/
Dstress2.c71 #ifndef SCALABILITY_FACTOR
72 #define SCALABILITY_FACTOR 1 macro
184 pthread_t workers[NCHILDREN * SCALABILITY_FACTOR + 2];
198 } cells[NSCENAR * SCALABILITY_FACTOR];
236 ts.tv_sec += TIMEOUT * SCALABILITY_FACTOR; in worker()
331 for (i = 0; i < NCHILDREN * SCALABILITY_FACTOR + 2; i++) { in cellmanager()
347 (ts.tv_nsec >> 10)) % (NCHILDREN * SCALABILITY_FACTOR + 2); in cellmanager()
362 } while (i < NCHILDREN * SCALABILITY_FACTOR + 2); in cellmanager()
396 for (i = 0; i < NCHILDREN * SCALABILITY_FACTOR + 2; i++) { in cellmanager()
432 pthread_t mngrs[NSCENAR * SCALABILITY_FACTOR]; in main()
[all …]
Dstress.c71 #ifndef SCALABILITY_FACTOR
72 #define SCALABILITY_FACTOR 1 macro
184 pthread_t workers[NCHILDREN * SCALABILITY_FACTOR + 2];
198 } cells[NSCENAR * SCALABILITY_FACTOR];
236 ts.tv_sec += TIMEOUT * SCALABILITY_FACTOR; in worker()
331 for (i = 0; i < NCHILDREN * SCALABILITY_FACTOR + 2; i++) { in cellmanager()
347 (ts.tv_nsec >> 10)) % (NCHILDREN * SCALABILITY_FACTOR + 2); in cellmanager()
362 } while (i < NCHILDREN * SCALABILITY_FACTOR + 2); in cellmanager()
396 for (i = 0; i < NCHILDREN * SCALABILITY_FACTOR + 2; i++) { in cellmanager()
432 pthread_t mngrs[NSCENAR * SCALABILITY_FACTOR]; in main()
[all …]
Dstress1.c96 #ifndef SCALABILITY_FACTOR
97 #define SCALABILITY_FACTOR 1 macro
207 #define NTOT (NSCENAR * SCALABILITY_FACTOR * NCHILDREN)
578 for (j = 0; j < SCALABILITY_FACTOR * NCHILDREN; j++) { in main()
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/
Dstress2.c71 #ifndef SCALABILITY_FACTOR
72 #define SCALABILITY_FACTOR 1 macro
175 pthread_t workers[NCHILDREN * SCALABILITY_FACTOR + 2];
189 } cells[NSCENAR * SCALABILITY_FACTOR];
227 ts.tv_sec += TIMEOUT * SCALABILITY_FACTOR; in worker()
322 for (i = 0; i < NCHILDREN * SCALABILITY_FACTOR + 2; i++) { in cellmanager()
338 (ts.tv_nsec >> 10)) % (NCHILDREN * SCALABILITY_FACTOR + 2); in cellmanager()
353 } while (i < NCHILDREN * SCALABILITY_FACTOR + 2); in cellmanager()
387 for (i = 0; i < NCHILDREN * SCALABILITY_FACTOR + 2; i++) { in cellmanager()
423 pthread_t mngrs[NSCENAR * SCALABILITY_FACTOR]; in main()
[all …]
Dstress1.c95 #ifndef SCALABILITY_FACTOR
96 #define SCALABILITY_FACTOR 1 macro
197 #define NTOT (NSCENAR * SCALABILITY_FACTOR * NCHILDREN)
584 for (j = 0; j < SCALABILITY_FACTOR * NCHILDREN; j++) { in main()
Ds-c.c74 #ifndef SCALABILITY_FACTOR
75 #define SCALABILITY_FACTOR 1 macro
380 for (scal = 0; scal < 5 * SCALABILITY_FACTOR; scal++) { in do_threads_test()
609 nth += 100 * SCALABILITY_FACTOR; in main()
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_init/
Ds-c.c72 #ifndef SCALABILITY_FACTOR
73 #define SCALABILITY_FACTOR 1 macro
84 pthread_cond_t cnd[10 * SCALABILITY_FACTOR];
86 pthread_condattr_t *pca[10 * SCALABILITY_FACTOR];
109 rl.rlim_max = 1024 * 1024 * 32 * SCALABILITY_FACTOR; in main()
168 for (i = 0; i < (10 * SCALABILITY_FACTOR); i++) { in main()
182 for (i = 0; i < 10 * SCALABILITY_FACTOR; i++) { in main()
241 for (i = 0; i < 10 * SCALABILITY_FACTOR; i++) { in main()
Dstress.c65 #ifndef SCALABILITY_FACTOR
66 #define SCALABILITY_FACTOR 1 macro
223 pthread_t threads[N * SCALABILITY_FACTOR]; in main()
236 for (i = 0; (i < (N * SCALABILITY_FACTOR) && (ret == 0)); i++) { in main()
252 for (i = 0; i < (N * SCALABILITY_FACTOR); i++) { in main()
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_init/
Ds-c.c73 #ifndef SCALABILITY_FACTOR
74 #define SCALABILITY_FACTOR 1 macro
87 pthread_mutex_t mtx[10 * SCALABILITY_FACTOR];
89 pthread_mutexattr_t *pma[10 * SCALABILITY_FACTOR];
109 rl.rlim_max = 1024 * 1024 * 32 * SCALABILITY_FACTOR; in main()
159 for (i = 1; i < (10 * SCALABILITY_FACTOR); i++) { in main()
175 for (i = 0; i < 10 * SCALABILITY_FACTOR; i++) { in main()
243 for (i = 0; i < 10 * SCALABILITY_FACTOR; i++) { in main()
Dstress.c63 #ifndef SCALABILITY_FACTOR
64 #define SCALABILITY_FACTOR 1 macro
174 pthread_t threads[N * SCALABILITY_FACTOR]; in main()
187 for (i = 0; (i < (N * SCALABILITY_FACTOR) && (ret == 0)); i++) { in main()
203 for (i = 0; i < (N * SCALABILITY_FACTOR); i++) { in main()
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_exit/
Dstress.c68 #ifndef SCALABILITY_FACTOR
69 #define SCALABILITY_FACTOR 1 macro
145 pthread_t threads[NSCENAR * SCALABILITY_FACTOR * FACTOR]; in main()
146 int rets[NSCENAR * SCALABILITY_FACTOR * FACTOR]; in main()
170 for (i = 0; i < SCALABILITY_FACTOR * FACTOR; i++) { in main()
228 for (i = 0; i < SCALABILITY_FACTOR * FACTOR; i++) { in main()
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/
Dstress.c94 #ifndef SCALABILITY_FACTOR
95 #define SCALABILITY_FACTOR 1 macro
564 cell_t data[sz * N * SCALABILITY_FACTOR]; in main()
622 sz * N * SCALABILITY_FACTOR); in main()
624 for (i = 0; i < sz * N * SCALABILITY_FACTOR; i++) in main()
640 for (i = 0; i < sz * N * SCALABILITY_FACTOR; i++) in main()
Ds-c1.c69 #ifndef SCALABILITY_FACTOR
70 #define SCALABILITY_FACTOR 1 /* This is not used in this testcase */ macro
Ds-c2.c78 #ifndef SCALABILITY_FACTOR
79 #define SCALABILITY_FACTOR 1 /* This is not used in this testcase */ macro
DNOTES37 You can change the SCALABILITY_FACTOR value to 2 or 3 to be more
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_trylock/
Dstress.c84 #ifndef SCALABILITY_FACTOR
85 #define SCALABILITY_FACTOR 1 macro
88 #define NCHILDREN (20 * SCALABILITY_FACTOR)
90 #define TIMEOUT (120 * SCALABILITY_FACTOR)
/external/ltp/testcases/open_posix_testsuite/stress/threads/fork/
Ds-c1.c72 #ifndef SCALABILITY_FACTOR
73 #define SCALABILITY_FACTOR 1 macro
79 #define RESOLUTION (5 * SCALABILITY_FACTOR)
119 long my_max = 1000 * SCALABILITY_FACTOR; in main()
DNOTES37 You can change the SCALABILITY_FACTOR value to 2 or 3 to be more
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_create/
Ds-c1.c71 #ifndef SCALABILITY_FACTOR
72 #define SCALABILITY_FACTOR 1 macro
78 #define RESOLUTION (5 * SCALABILITY_FACTOR)
155 long my_max = 1000 * SCALABILITY_FACTOR; in main()
/external/ltp/testcases/open_posix_testsuite/stress/threads/sem_open/
Ds-c1.c70 #ifndef SCALABILITY_FACTOR
71 #define SCALABILITY_FACTOR 1 macro
77 #define BLOCKSIZE (100 * SCALABILITY_FACTOR)
/external/ltp/testcases/open_posix_testsuite/stress/threads/sem_init/
Ds-c1.c69 #ifndef SCALABILITY_FACTOR
70 #define SCALABILITY_FACTOR 1 macro
76 #define BLOCKSIZE (1000 * SCALABILITY_FACTOR)
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_self/
DNOTES37 You can change the SCALABILITY_FACTOR value to 2 or 3 to be more
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_kill/
DNOTES37 You can change the SCALABILITY_FACTOR value to 2 or 3 to be more
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cancel/
DNOTES37 You can change the SCALABILITY_FACTOR value to 2 or 3 to be more
/external/ltp/testcases/open_posix_testsuite/stress/threads/sem_getvalue/
DNOTES37 You can change the SCALABILITY_FACTOR value to 2 or 3 to be more

12