HomeSort by relevance Sort by last modified time
    Searched defs:nproc (Results 1 - 12 of 12) sorted by null

  /external/ltp/lib/newlib_tests/
tst_safe_fileops.c 24 long nproc; local
28 if (FILE_LINES_SCANF("/proc/stat", "processes %ld", &nproc))
30 tst_res(TPASS, "Free: %ld, nproc: %ld", free, nproc);
  /external/linux-kselftest/tools/testing/selftests/bpf/
test_cgroup_storage.c 44 int cpu, nproc; local
46 nproc = get_nprocs_conf();
47 percpu_value = malloc(sizeof(*percpu_value) * nproc);
49 printf("Not enough memory for per-cpu area (%d cpus)\n", nproc);
110 for (cpu = 0; cpu < nproc; cpu++)
159 for (cpu = 0; cpu < nproc; cpu++)
168 for (cpu = 0; cpu < nproc; cpu++)
171 if (value != nproc * 1000 + 6) {
test_netcnt.c 45 int cpu, nproc; local
48 nproc = get_nprocs_conf();
49 percpu_netcnt = malloc(sizeof(*percpu_netcnt) * nproc);
51 printf("Not enough memory for per-cpu area (%d cpus)\n", nproc);
127 for (cpu = 0; cpu < nproc; cpu++) {
  /external/strace/tests/
delay.c 57 const int nproc,
65 if (us - us0 < delay_exit * (nproc - 1) / nproc)
68 if (us - us0 > delay_exit * (nproc + 1) / nproc)
71 if (us1 - us < delay_enter * (nproc - 1) / nproc)
74 if (us1 - us > delay_enter * (nproc + 1) / nproc)
79 run(const int nproc, const int delay_enter, const int delay_exit
107 const int nproc = atoi(av[1]); local
    [all...]
  /external/strace/tests-m32/
delay.c 57 const int nproc,
65 if (us - us0 < delay_exit * (nproc - 1) / nproc)
68 if (us - us0 > delay_exit * (nproc + 1) / nproc)
71 if (us1 - us < delay_enter * (nproc - 1) / nproc)
74 if (us1 - us > delay_enter * (nproc + 1) / nproc)
79 run(const int nproc, const int delay_enter, const int delay_exit
107 const int nproc = atoi(av[1]); local
    [all...]
  /external/strace/tests-mx32/
delay.c 57 const int nproc,
65 if (us - us0 < delay_exit * (nproc - 1) / nproc)
68 if (us - us0 > delay_exit * (nproc + 1) / nproc)
71 if (us1 - us < delay_enter * (nproc - 1) / nproc)
74 if (us1 - us > delay_enter * (nproc + 1) / nproc)
79 run(const int nproc, const int delay_enter, const int delay_exit
107 const int nproc = atoi(av[1]); local
    [all...]
  /external/toybox/toys/other/
taskset.c 6 USE_NPROC(NEWTOY(nproc, "(all)", TOYFLAG_USR|TOYFLAG_BIN))
8 config NPROC
9 bool "nproc"
12 usage: nproc [--all]
121 unsigned i, j, nproc = 0; local
126 if (toybuf[i]) for (j=0; j<8; j++) if (toybuf[i]&(1<<j)) nproc++;
130 if (!nproc) nproc = sysconf(_SC_NPROCESSORS_CONF);
132 xprintf("%u\n", nproc);
  /external/ltp/testcases/misc/math/fptests/
fptest01.c 89 int nproc; /* number of processors */ variable
102 nproc = 128;
134 dtw = 1. / nproc; /* mean process work time */
138 for (p = 1; p <= nproc; p++) {
142 for (p = 1; p <= nproc; p++) {
159 for (i = 0; i < nproc; i++)
200 for (i = 1; i <= nproc; i++) {
225 for (i = 1; i <= nproc; i++) {
311 if (barcnt == nproc) {
313 for (i = 1; i <= nproc; i++)
    [all...]
fptest02.c 89 int nproc; /* number of processors */ variable
101 nproc = 128;
133 dtw = 1. / nproc; /* mean process work time */
137 for (p = 1; p <= nproc; p++) {
141 for (p = 1; p <= nproc; p++) {
179 for (i = 1; i <= nproc; i++) {
205 for (i = 1; i <= nproc; i++) {
292 if (barcnt == nproc) {
294 for (i = 1; i <= nproc; i++) {
  /external/curl/lib/
http2.c 2211 ssize_t nproc; local
    [all...]
  /external/ltp/testcases/kernel/fs/fsstress/
fsstress.c 224 int nproc = 1; variable
356 nproc = atoi(optarg);
483 if (nproc == 1) {
496 for (i = 0; i < nproc; i++) {
1368 printf(" [-p nproc][-r len][-s seed][-v][-w][-z][-S]\n");
1385 (" -p nproc specifies the no. of processes (default 1)\n");
    [all...]
  /external/e2fsprogs/contrib/
fsstress.c 251 int nproc = 1; variable
383 nproc = atoi(optarg);
510 if (nproc == 1) {
523 for (i = 0; i < nproc; i++) {
1393 printf(" [-p nproc][-r len][-s seed][-v][-w][-z][-S]\n");
1410 (" -p nproc specifies the no. of processes (default 1)\n");
    [all...]

Completed in 1479 milliseconds