Searched refs:SCALABILITY_FACTOR (Results 1 - 19 of 19) sorted by relevance

/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_init/
H A Dstress.c71 #ifndef SCALABILITY_FACTOR
72 #define SCALABILITY_FACTOR 1 macro
182 pthread_t threads[N * SCALABILITY_FACTOR];
195 for (i = 0; (i < (N * SCALABILITY_FACTOR) && (ret == 0)); i++) {
211 for (i = 0; i < (N * SCALABILITY_FACTOR); i++) {
H A Ds-c.c21 * -> Restrict the memory to 32Mb * SCALABILITY_FACTOR
80 #ifndef SCALABILITY_FACTOR
81 #define SCALABILITY_FACTOR 1 macro
94 pthread_mutex_t mtx[10 * SCALABILITY_FACTOR];
96 pthread_mutexattr_t *pma[10 * SCALABILITY_FACTOR];
116 rl.rlim_max = 1024 * 1024 * 32 * SCALABILITY_FACTOR;
166 for (i = 1; i < (10 * SCALABILITY_FACTOR); i++) {
182 for (i = 0; i < 10 * SCALABILITY_FACTOR; i++) {
250 for (i = 0; i < 10 * SCALABILITY_FACTOR; i++) {
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/
H A Dstress2.c78 #ifndef SCALABILITY_FACTOR
79 #define SCALABILITY_FACTOR 1 macro
191 pthread_t workers[NCHILDREN * SCALABILITY_FACTOR + 2];
205 } cells[NSCENAR * SCALABILITY_FACTOR];
243 ts.tv_sec += TIMEOUT * SCALABILITY_FACTOR;
338 for (i = 0; i < NCHILDREN * SCALABILITY_FACTOR + 2; i++) {
354 (ts.tv_nsec >> 10)) % (NCHILDREN * SCALABILITY_FACTOR + 2);
369 } while (i < NCHILDREN * SCALABILITY_FACTOR + 2);
403 for (i = 0; i < NCHILDREN * SCALABILITY_FACTOR + 2; i++) {
439 pthread_t mngrs[NSCENAR * SCALABILITY_FACTOR];
[all...]
H A Dstress1.c103 #ifndef SCALABILITY_FACTOR
104 #define SCALABILITY_FACTOR 1 macro
214 #define NTOT (NSCENAR * SCALABILITY_FACTOR * NCHILDREN)
601 for (j = 0; j < SCALABILITY_FACTOR * NCHILDREN; j++) {
H A Ds-c.c81 #ifndef SCALABILITY_FACTOR
82 #define SCALABILITY_FACTOR 1 macro
387 for (scal = 0; scal < 5 * SCALABILITY_FACTOR; scal++) {
616 nth += 100 * SCALABILITY_FACTOR;
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/
H A Dstress.c78 #ifndef SCALABILITY_FACTOR
79 #define SCALABILITY_FACTOR 1 macro
191 pthread_t workers[NCHILDREN * SCALABILITY_FACTOR + 2];
205 } cells[NSCENAR * SCALABILITY_FACTOR];
243 ts.tv_sec += TIMEOUT * SCALABILITY_FACTOR;
338 for (i = 0; i < NCHILDREN * SCALABILITY_FACTOR + 2; i++) {
354 (ts.tv_nsec >> 10)) % (NCHILDREN * SCALABILITY_FACTOR + 2);
369 } while (i < NCHILDREN * SCALABILITY_FACTOR + 2);
403 for (i = 0; i < NCHILDREN * SCALABILITY_FACTOR + 2; i++) {
439 pthread_t mngrs[NSCENAR * SCALABILITY_FACTOR];
[all...]
H A Dstress2.c78 #ifndef SCALABILITY_FACTOR
79 #define SCALABILITY_FACTOR 1 macro
191 pthread_t workers[NCHILDREN * SCALABILITY_FACTOR + 2];
205 } cells[NSCENAR * SCALABILITY_FACTOR];
243 ts.tv_sec += TIMEOUT * SCALABILITY_FACTOR;
338 for (i = 0; i < NCHILDREN * SCALABILITY_FACTOR + 2; i++) {
354 (ts.tv_nsec >> 10)) % (NCHILDREN * SCALABILITY_FACTOR + 2);
369 } while (i < NCHILDREN * SCALABILITY_FACTOR + 2);
403 for (i = 0; i < NCHILDREN * SCALABILITY_FACTOR + 2; i++) {
439 pthread_t mngrs[NSCENAR * SCALABILITY_FACTOR];
[all...]
H A Dstress1.c104 #ifndef SCALABILITY_FACTOR
105 #define SCALABILITY_FACTOR 1 macro
215 #define NTOT (NSCENAR * SCALABILITY_FACTOR * NCHILDREN)
586 for (j = 0; j < SCALABILITY_FACTOR * NCHILDREN; j++) {
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_exit/
H A Dstress.c75 #ifndef SCALABILITY_FACTOR
76 #define SCALABILITY_FACTOR 1 macro
152 pthread_t threads[NSCENAR * SCALABILITY_FACTOR * FACTOR];
153 int rets[NSCENAR * SCALABILITY_FACTOR * FACTOR];
177 for (i = 0; i < SCALABILITY_FACTOR * FACTOR; i++) {
235 for (i = 0; i < SCALABILITY_FACTOR * FACTOR; i++) {
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_init/
H A Ds-c.c21 * -> Restrict the memory to 32Mb * SCALABILITY_FACTOR
79 #ifndef SCALABILITY_FACTOR
80 #define SCALABILITY_FACTOR 1 macro
91 pthread_cond_t cnd[10 * SCALABILITY_FACTOR];
93 pthread_condattr_t *pca[10 * SCALABILITY_FACTOR];
116 rl.rlim_max = 1024 * 1024 * 32 * SCALABILITY_FACTOR;
175 for (i = 0; i < (10 * SCALABILITY_FACTOR); i++) {
189 for (i = 0; i < 10 * SCALABILITY_FACTOR; i++) {
248 for (i = 0; i < 10 * SCALABILITY_FACTOR; i++) {
H A Dstress.c68 #ifndef SCALABILITY_FACTOR
69 #define SCALABILITY_FACTOR 1 macro
226 pthread_t threads[N * SCALABILITY_FACTOR];
239 for (i = 0; (i < (N * SCALABILITY_FACTOR) && (ret == 0)); i++) {
255 for (i = 0; i < (N * SCALABILITY_FACTOR); i++) {
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_trylock/
H A Dstress.c91 #ifndef SCALABILITY_FACTOR
92 #define SCALABILITY_FACTOR 1 macro
95 #define NCHILDREN (20 * SCALABILITY_FACTOR)
97 #define TIMEOUT (120 * SCALABILITY_FACTOR)
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/
H A Dstress.c102 #ifndef SCALABILITY_FACTOR
103 #define SCALABILITY_FACTOR 1 macro
108 #define N 2 /* N * 10 * 6 * SCALABILITY_FACTOR threads will be created */
572 cell_t data[sz * N * SCALABILITY_FACTOR];
630 sz * N * SCALABILITY_FACTOR);
632 for (i = 0; i < sz * N * SCALABILITY_FACTOR; i++)
648 for (i = 0; i < sz * N * SCALABILITY_FACTOR; i++)
H A Ds-c1.c77 #ifndef SCALABILITY_FACTOR
78 #define SCALABILITY_FACTOR 1 /* This is not used in this testcase */ macro
H A Ds-c2.c86 #ifndef SCALABILITY_FACTOR
87 #define SCALABILITY_FACTOR 1 /* This is not used in this testcase */ macro
/external/ltp/testcases/open_posix_testsuite/stress/threads/fork/
H A Ds-c1.c79 #ifndef SCALABILITY_FACTOR
80 #define SCALABILITY_FACTOR 1 macro
86 #define RESOLUTION (5 * SCALABILITY_FACTOR)
126 long my_max = 1000 * SCALABILITY_FACTOR;
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_create/
H A Ds-c1.c78 #ifndef SCALABILITY_FACTOR
79 #define SCALABILITY_FACTOR 1 macro
85 #define RESOLUTION (5 * SCALABILITY_FACTOR)
162 long my_max = 1000 * SCALABILITY_FACTOR;
/external/ltp/testcases/open_posix_testsuite/stress/threads/sem_init/
H A Ds-c1.c72 #ifndef SCALABILITY_FACTOR
73 #define SCALABILITY_FACTOR 1 macro
79 #define BLOCKSIZE (1000 * SCALABILITY_FACTOR)
/external/ltp/testcases/open_posix_testsuite/stress/threads/sem_open/
H A Ds-c1.c73 #ifndef SCALABILITY_FACTOR
74 #define SCALABILITY_FACTOR 1 macro
80 #define BLOCKSIZE (100 * SCALABILITY_FACTOR)

Completed in 2223 milliseconds