/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/ |
D | stress.c | 71 #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 …]
|
D | stress2.c | 71 #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 …]
|
D | stress1.c | 96 #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/ |
D | stress2.c | 71 #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 …]
|
D | stress1.c | 95 #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()
|
D | s-c.c | 74 #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/ |
D | s-c.c | 72 #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()
|
D | stress.c | 65 #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()
|
D | NOTES | 37 You can change the SCALABILITY_FACTOR value to 2 or 3 to be more
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_init/ |
D | s-c.c | 73 #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()
|
D | stress.c | 63 #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/ |
D | stress.c | 68 #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()
|
D | NOTES | 37 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/ |
D | stress.c | 84 #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/pthread_mutex_lock/ |
D | stress.c | 94 #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()
|
D | s-c1.c | 69 #ifndef SCALABILITY_FACTOR 70 #define SCALABILITY_FACTOR 1 /* This is not used in this testcase */ macro
|
D | s-c2.c | 78 #ifndef SCALABILITY_FACTOR 79 #define SCALABILITY_FACTOR 1 /* This is not used in this testcase */ macro
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/fork/ |
D | s-c1.c | 72 #ifndef SCALABILITY_FACTOR 73 #define SCALABILITY_FACTOR 1 macro 79 #define RESOLUTION (5 * SCALABILITY_FACTOR) 119 long my_max = 1000 * SCALABILITY_FACTOR; in main()
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_create/ |
D | s-c1.c | 71 #ifndef SCALABILITY_FACTOR 72 #define SCALABILITY_FACTOR 1 macro 78 #define RESOLUTION (5 * SCALABILITY_FACTOR) 155 long my_max = 1000 * SCALABILITY_FACTOR; in main()
|
D | NOTES | 37 You can change the SCALABILITY_FACTOR value to 2 or 3 to be more
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/sem_init/ |
D | s-c1.c | 69 #ifndef SCALABILITY_FACTOR 70 #define SCALABILITY_FACTOR 1 macro 76 #define BLOCKSIZE (1000 * SCALABILITY_FACTOR)
|
D | NOTES | 37 You can change the SCALABILITY_FACTOR value to 2 or 3 to be more
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/sem_open/ |
D | s-c1.c | 70 #ifndef SCALABILITY_FACTOR 71 #define SCALABILITY_FACTOR 1 macro 77 #define BLOCKSIZE (100 * SCALABILITY_FACTOR)
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/sem_getvalue/ |
D | NOTES | 37 You can change the SCALABILITY_FACTOR value to 2 or 3 to be more
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_kill/ |
D | NOTES | 37 You can change the SCALABILITY_FACTOR value to 2 or 3 to be more
|