HomeSort by relevance Sort by last modified time
    Searched refs:SCALABILITY_FACTOR (Results 1 - 19 of 19) sorted by null

  /external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_init/
stress.c 71 #ifndef SCALABILITY_FACTOR
72 #define SCALABILITY_FACTOR 1
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++) {
s-c.c 21 * -> Restrict the memory to 32Mb * SCALABILITY_FACTOR
80 #ifndef SCALABILITY_FACTOR
81 #define SCALABILITY_FACTOR 1
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/
stress2.c 78 #ifndef SCALABILITY_FACTOR
79 #define SCALABILITY_FACTOR 1
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...]
stress1.c 103 #ifndef SCALABILITY_FACTOR
104 #define SCALABILITY_FACTOR 1
214 #define NTOT (NSCENAR * SCALABILITY_FACTOR * NCHILDREN)
601 for (j = 0; j < SCALABILITY_FACTOR * NCHILDREN; j++) {
s-c.c 81 #ifndef SCALABILITY_FACTOR
82 #define SCALABILITY_FACTOR 1
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/
stress.c 78 #ifndef SCALABILITY_FACTOR
79 #define SCALABILITY_FACTOR 1
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...]
stress2.c 78 #ifndef SCALABILITY_FACTOR
79 #define SCALABILITY_FACTOR 1
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...]
stress1.c 104 #ifndef SCALABILITY_FACTOR
105 #define SCALABILITY_FACTOR 1
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/
stress.c 75 #ifndef SCALABILITY_FACTOR
76 #define SCALABILITY_FACTOR 1
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/
s-c.c 21 * -> Restrict the memory to 32Mb * SCALABILITY_FACTOR
79 #ifndef SCALABILITY_FACTOR
80 #define SCALABILITY_FACTOR 1
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++) {
stress.c 68 #ifndef SCALABILITY_FACTOR
69 #define SCALABILITY_FACTOR 1
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/
stress.c 91 #ifndef SCALABILITY_FACTOR
92 #define SCALABILITY_FACTOR 1
95 #define NCHILDREN (20 * SCALABILITY_FACTOR)
97 #define TIMEOUT (120 * SCALABILITY_FACTOR)
  /external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/
stress.c 102 #ifndef SCALABILITY_FACTOR
103 #define SCALABILITY_FACTOR 1
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++)
s-c1.c 77 #ifndef SCALABILITY_FACTOR
78 #define SCALABILITY_FACTOR 1 /* This is not used in this testcase */
s-c2.c 86 #ifndef SCALABILITY_FACTOR
87 #define SCALABILITY_FACTOR 1 /* This is not used in this testcase */
  /external/ltp/testcases/open_posix_testsuite/stress/threads/fork/
s-c1.c 79 #ifndef SCALABILITY_FACTOR
80 #define SCALABILITY_FACTOR 1
86 #define RESOLUTION (5 * SCALABILITY_FACTOR)
126 long my_max = 1000 * SCALABILITY_FACTOR;
  /external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_create/
s-c1.c 78 #ifndef SCALABILITY_FACTOR
79 #define SCALABILITY_FACTOR 1
85 #define RESOLUTION (5 * SCALABILITY_FACTOR)
162 long my_max = 1000 * SCALABILITY_FACTOR;
  /external/ltp/testcases/open_posix_testsuite/stress/threads/sem_init/
s-c1.c 72 #ifndef SCALABILITY_FACTOR
73 #define SCALABILITY_FACTOR 1
79 #define BLOCKSIZE (1000 * SCALABILITY_FACTOR)
  /external/ltp/testcases/open_posix_testsuite/stress/threads/sem_open/
s-c1.c 73 #ifndef SCALABILITY_FACTOR
74 #define SCALABILITY_FACTOR 1
80 #define BLOCKSIZE (100 * SCALABILITY_FACTOR)

Completed in 297 milliseconds