Lines Matching refs:nprocs
89 u_int nprocs = 1; /* -p: Processes. */
92 u_int nprocs = 5; /* -p: Processes. */
95 u_int nprocs = 20; /* -p: Processes. */
155 nprocs = (u_int)atoi(optarg);
195 if (nprocs == 1 && nthreads == 1) {
202 len = sizeof(TM) * (1 + nthreads * nprocs + maxlocks);
248 progname, nprocs, nthreads, nlocks, maxlocks);
262 if (nprocs > 1) { /* Run the multi-process test. */
264 if ((pids = calloc(nprocs, sizeof(os_pid_t))) == NULL) {
270 for (i = 0; i < nprocs; ++i) {
290 if ((err = os_wait(pids, nprocs)) != 0) {
601 if (check_id == nthreads * nprocs)
665 1 + nthreads * nprocs + maxlocks)) != 0) {
671 if (nprocs == 1) {
721 nthreads * nprocs);
722 for (i = 0; i < nthreads * nprocs; ++i) {
782 for (i = 0; i < nthreads * nprocs; ++i) {
847 if (nprocs == 1) {
890 addr = (u_int8_t *)addr + sizeof(TM) * (nthreads * nprocs);
906 if (nprocs == 1)
992 snprintf(pbuf, sizeof(pbuf), "%d", nprocs);