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

  /bionic/tests/
sys_sysinfo_test.cpp 23 int nprocs = get_nprocs(); local
24 ASSERT_GT(nprocs, 0);
25 ASSERT_EQ(sysconf(_SC_NPROCESSORS_ONLN), nprocs); local
28 ASSERT_GE(nprocs_conf, nprocs);
  /external/autotest/client/tests/dbench/
dbench.py 26 def run_once(self, dir='.', nprocs=None, seconds=600, args=''):
27 if not nprocs:
28 nprocs = self.job.cpu_count()
30 cmd = '%s %s %s -D %s -c %s -t %d' % (self.dbench, nprocs, args,
  /external/autotest/client/tests/tbench/
tbench.py 22 def run_once(self, nprocs = None, args = ''):
25 if not nprocs:
26 nprocs = self.job.cpu_count()
27 args = args + ' %s' % nprocs
  /external/ltp/testcases/kernel/mem/mmapstress/
mmapstress09.c 58 * mmapstress09 -p nprocs [-t minutes -s mapsize -m msync -r -d]
61 * -p nprocs - specifies the number of mapping children
62 * to create. (nprocs + 1 children actually
95 char *usage = "-p nprocs [-t minutes -s mapsize -m -r -d]";
99 void child_mapper(unsigned procno, unsigned nprocs);
117 unsigned nprocs = 0; local
148 nprocs = atoi(optarg);
171 /* nprocs is unsigned */
172 if (nprocs > 255) {
173 (void)fprintf(stderr, "invalid nprocs %d - (range 0-255)\n"
    [all...]
mmapstress01.c 64 * tmnoextend -p nprocs [-t minutes -f filesize -S sparseoffset
67 * -p nprocs - specifies the number of mapping children
68 * to create. (nprocs + 1 children actually
110 "-p nprocs [-t minutes -f filesize -S sparseoffset -r -o -m -l -d]";
117 void child_mapper(char *file, unsigned procno, unsigned nprocs);
141 unsigned nprocs = 0; local
178 nprocs = atoi(optarg);
223 /* nprocs is >= 0 since it's unsigned */
224 if (nprocs > 255) {
225 (void)fprintf(stderr, "invalid nprocs %d - (range 0-255)\n"
    [all...]
mmapstress10.c 68 * mmapstress10 -p nprocs [-t minutes -w nbytes -s secs -f filesize
71 * -p nprocs - specifies the number of mapping children
72 * to create. (nprocs + 1 children actually
124 "-p nprocs [-t minutes -w nbytes -s secs -f fsize -S sparseoffset -r -o -m -l -d]";
128 void child_mapper(char *file, unsigned procno, unsigned nprocs);
168 unsigned nprocs = 0; local
206 nprocs = atoi(optarg);
267 if (nprocs > 255) {
268 (void)fprintf(stderr, "invalid nprocs %d - (range 0-255)\n",
269 nprocs);
    [all...]
  /external/ltp/testcases/kernel/controllers/cpuset/cpuset_load_balance_test/
cpuset_cpu_hog.c 47 #define USAGE ("Usage: %s [-p nprocs] [-h]\n" \
48 "\t-p nprocs\n" \
52 static int nprocs; variable
136 nprocs = atoi(optarg);
148 if (nprocs == 0)
149 nprocs = 2 * nr_cpus;
269 childpids = malloc((nprocs) * sizeof(pid_t));
275 memset(childpids, 0, (nprocs) * sizeof(pid_t));
279 for (; i < nprocs; i++) {
303 for (i = 0; i < nprocs; i++)
    [all...]
  /external/ltp/testcases/kernel/syscalls/ipc/msgctl/
msgctl09.c 58 static int nprocs, nreps, nkids, MSGMNI; variable
96 nprocs = MSGMNI;
110 nprocs = atoi(opt_nprocs);
111 if (nprocs > MSGMNI) {
115 nprocs = MSGMNI;
140 for (i = 0; i < nprocs; i++) {
159 /* Fork a number of processes (nprocs), each of which will
165 for (i = 0; i < nprocs; i++) {
199 if (count != nprocs) {
203 count, nprocs);
    [all...]
msgctl08.c 57 static int MSGMNI, nprocs, nreps; variable
93 nprocs = MSGMNI;
106 nprocs = atoi(opt_nprocs);
107 if (nprocs > MSGMNI) {
111 nprocs = MSGMNI;
129 for (i = 0; i < nprocs; i++) {
155 for (i = 0; i < nprocs; i++) {
189 if (count != nprocs) {
193 count, nprocs);
msgctl10.c 54 static int MSGMNI, nprocs, nreps; variable
90 nprocs = MSGMNI;
103 nprocs = atoi(opt_nprocs);
104 if (nprocs > MSGMNI) {
108 nprocs = MSGMNI;
126 for (i = 0; i < nprocs; i++) {
152 for (i = 0; i < nprocs; i++) {
186 if (count != nprocs) {
190 count, nprocs);
msgctl11.c 61 static int nprocs, nreps, nkids, MSGMNI; variable
174 nprocs = MSGMNI;
178 nprocs = maxnprocs;
182 nprocs = MSGMNI % maxnprocs;
200 for (i = 0; i < nprocs; i++) {
232 if (count != nprocs)
235 count, nprocs);
360 for (i = 0; i < nprocs; i++) {
  /external/autotest/client/tests/perfmon/
perfmon.py 21 def run_once(self, dir = None, nprocs = None, args = ''):
  /prebuilts/go/darwin-x86/test/bench/garbage/
stats.go 17 nprocs := runtime.GOMAXPROCS(-1)
19 if nprocs != 1 {
20 cpus = fmt.Sprintf("-%d", nprocs)
  /prebuilts/go/linux-x86/test/bench/garbage/
stats.go 17 nprocs := runtime.GOMAXPROCS(-1)
19 if nprocs != 1 {
20 cpus = fmt.Sprintf("-%d", nprocs)
  /external/ltp/tools/pounder21/
run.c 308 int i, stat, res, nprocs; local
315 nprocs = 0;
317 nprocs++;
322 for (i = 0; i < nprocs;) {
371 int i, stat, res, nprocs; local
378 nprocs = 0;
380 nprocs++;
385 for (i = 0; i < nprocs;) {
  /external/autotest/client/tests/ipv6connect/
ipv6connect.py 22 def run_once(self, dir=None, nprocs=None, args=''):
  /external/strace/
strace.c 160 static unsigned int nprocs; variable
649 else if (nprocs > 1 && !outfname)
731 if (nprocs == tcbtabsize)
748 nprocs++;
750 tcp->pid, nprocs);
806 nprocs--;
807 debug_msg("dropped tcb for pid %d, %d remain", tcp->pid, nprocs);
    [all...]
  /prebuilts/go/darwin-x86/src/syscall/
zsysctl_openbsd.go 76 {"kern.nprocs", []_C_int{1, 47}},
  /prebuilts/go/linux-x86/src/syscall/
zsysctl_openbsd.go 76 {"kern.nprocs", []_C_int{1, 47}},
  /prebuilts/go/darwin-x86/src/runtime/
proc.go     [all...]
mgcmark.go 547 throw("nwait > work.nprocs")
    [all...]
  /prebuilts/go/linux-x86/src/runtime/
proc.go     [all...]
mgcmark.go 547 throw("nwait > work.nprocs")
    [all...]

Completed in 494 milliseconds