Home
last modified time | relevance | path

Searched refs:nproc (Results 1 – 25 of 48) sorted by relevance

12

/external/strace/tests/
Ddelay.c57 const int nproc, in check_delay() argument
65 if (us - us0 < delay_exit * (nproc - 1) / nproc) in check_delay()
68 if (us - us0 > delay_exit * (nproc + 1) / nproc) in check_delay()
71 if (us1 - us < delay_enter * (nproc - 1) / nproc) in check_delay()
74 if (us1 - us > delay_enter * (nproc + 1) / nproc) in check_delay()
79 run(const int nproc, const int delay_enter, const int delay_exit) in run() argument
83 for (int i = 0; i < nproc; ++i, prev = now) { in run()
95 check_delay(&prev, &ts, &now, nproc, delay_enter, delay_exit); in run()
107 const int nproc = atoi(av[1]); in main() local
108 if (nproc <= 1) in main()
[all …]
/external/strace/tests-m32/
Ddelay.c57 const int nproc, in check_delay() argument
65 if (us - us0 < delay_exit * (nproc - 1) / nproc) in check_delay()
68 if (us - us0 > delay_exit * (nproc + 1) / nproc) in check_delay()
71 if (us1 - us < delay_enter * (nproc - 1) / nproc) in check_delay()
74 if (us1 - us > delay_enter * (nproc + 1) / nproc) in check_delay()
79 run(const int nproc, const int delay_enter, const int delay_exit) in run() argument
83 for (int i = 0; i < nproc; ++i, prev = now) { in run()
95 check_delay(&prev, &ts, &now, nproc, delay_enter, delay_exit); in run()
107 const int nproc = atoi(av[1]); in main() local
108 if (nproc <= 1) in main()
[all …]
/external/strace/tests-mx32/
Ddelay.c57 const int nproc, in check_delay() argument
65 if (us - us0 < delay_exit * (nproc - 1) / nproc) in check_delay()
68 if (us - us0 > delay_exit * (nproc + 1) / nproc) in check_delay()
71 if (us1 - us < delay_enter * (nproc - 1) / nproc) in check_delay()
74 if (us1 - us > delay_enter * (nproc + 1) / nproc) in check_delay()
79 run(const int nproc, const int delay_enter, const int delay_exit) in run() argument
83 for (int i = 0; i < nproc; ++i, prev = now) { in run()
95 check_delay(&prev, &ts, &now, nproc, delay_enter, delay_exit); in run()
107 const int nproc = atoi(av[1]); in main() local
108 if (nproc <= 1) in main()
[all …]
/external/ImageMagick/Magick++/fuzz/
Dbuild.sh6 make -j$(nproc) CFLAGS="$CFLAGS -fPIC"
14 make -j$(nproc)
21 make -j$(nproc)
28 make -j$(nproc)
36 make -j$(nproc)
44 make -j$(nproc)
52 make -j$(nproc)
60 make -j$(nproc)
68 make -j$(nproc)
76 make -j$(nproc)
[all …]
/external/ltp/testcases/realtime/perf/latency/
Drun_auto.sh27 nproc=5
32 echo "number of processes = $nproc " | tee -a $LOG_FILE
35 rm -f $nthread.$iter.$nproc.*.out
38 ./pthread_cond_many --realtime --broadcast -i $iter -n $nthread > $nthread.$iter.$nproc.$i.out &
40 while test $i -lt $nproc
42 ./pthread_cond_many --broadcast -i $iter -n $nthread > $nthread.$iter.$nproc.$i.out &
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_cgroup_storage.c44 int cpu, nproc; in main() local
46 nproc = get_nprocs_conf(); in main()
47 percpu_value = malloc(sizeof(*percpu_value) * nproc); in main()
49 printf("Not enough memory for per-cpu area (%d cpus)\n", nproc); in main()
110 for (cpu = 0; cpu < nproc; cpu++) in main()
159 for (cpu = 0; cpu < nproc; cpu++) in main()
168 for (cpu = 0; cpu < nproc; cpu++) in main()
171 if (value != nproc * 1000 + 6) { in main()
Dtest_netcnt.c45 int cpu, nproc; in main() local
48 nproc = get_nprocs_conf(); in main()
49 percpu_netcnt = malloc(sizeof(*percpu_netcnt) * nproc); in main()
51 printf("Not enough memory for per-cpu area (%d cpus)\n", nproc); in main()
127 for (cpu = 0; cpu < nproc; cpu++) { in main()
/external/ltp/testcases/misc/math/fptests/
Dfptest01.c89 int nproc; /* number of processors */ variable
102 nproc = 128; in main()
134 dtw = 1. / nproc; /* mean process work time */ in init()
138 for (p = 1; p <= nproc; p++) { in init()
142 for (p = 1; p <= nproc; p++) { in init()
159 for (i = 0; i < nproc; i++) in term()
200 for (i = 1; i <= nproc; i++) { in addevent()
225 for (i = 1; i <= nproc; i++) { in nextevent()
311 if (barcnt == nproc) { in doevent()
313 for (i = 1; i <= nproc; i++) { in doevent()
Dfptest02.c89 int nproc; /* number of processors */ variable
101 nproc = 128; in main()
133 dtw = 1. / nproc; /* mean process work time */ in init()
137 for (p = 1; p <= nproc; p++) { in init()
141 for (p = 1; p <= nproc; p++) { in init()
179 for (i = 1; i <= nproc; i++) { in addevent()
205 for (i = 1; i <= nproc; i++) { in nextevent()
292 if (barcnt == nproc) { in doevent()
294 for (i = 1; i <= nproc; i++) { in doevent()
/external/toybox/toys/other/
Dtaskset.c121 unsigned i, j, nproc = 0; in nproc_main() local
126 if (toybuf[i]) for (j=0; j<8; j++) if (toybuf[i]&(1<<j)) nproc++; in nproc_main()
130 if (!nproc) nproc = sysconf(_SC_NPROCESSORS_CONF); in nproc_main()
132 xprintf("%u\n", nproc); in nproc_main()
/external/grpc-grpc-java/compiler/
DDockerfile8 make clean && make -j$(nproc) && make -j$(nproc) install"'
12 make clean && make -j$(nproc) && make -j$(nproc) install"'
/external/ltp/lib/newlib_tests/
Dtst_safe_fileops.c24 long nproc; in do_test() local
28 if (FILE_LINES_SCANF("/proc/stat", "processes %ld", &nproc)) in do_test()
30 tst_res(TPASS, "Free: %ld, nproc: %ld", free, nproc); in do_test()
/external/linux-kselftest/tools/testing/selftests/ftrace/test.d/ftrace/
Dfunc_cpumask.tc5 if ! which nproc ; then
6 nproc() {
11 NP=`nproc`
/external/grpc-grpc/src/ruby/ext/grpc/
Dextconf.rb47 nproc = 4
48 nproc = Etc.nprocessors * 2 if Etc.respond_to? :nprocessors
50 system("#{make} -j#{nproc} -C #{grpc_root} #{grpc_lib_dir}/libgrpc.a CONFIG=#{grpc_config} Q=")
/external/honggfuzz/examples/apache-httpd/
Dhttpd-master.honggfuzz.patch46 +make -j$(nproc)
53 +make -j$(nproc)
60 +make -j$(nproc)
81 +make -j$(nproc)
/external/autotest/client/tests/fsstress/
Dfsstress.py23 def run_once(self, testdir = None, extra_args = '', nproc = '1000', nops = '1000'): argument
27 args = '-d %s -p %s -n %s %s' % (testdir, nproc, nops, extra_args)
/external/libpng/contrib/oss-fuzz/
Dbuild.sh36 make -j$(nproc) clean
37 make -j$(nproc) libpng16.la
/external/swiftshader/kokoro/gcp_ubuntu/
Dcontinuous.sh15 make --jobs=$(nproc) VERBOSE=1
/external/adhd/cras/src/fuzz/
Dbuild.sh13 make -j$(nproc)
/external/brotli/c/fuzz/
Dtest_fuzzer.sh17 make -j$(nproc) brotlidec-static
/external/nos/test/system-test-harness/
DREADME.md21 > mmma -j`nproc` external/nos
/external/libaom/libaom/examples/
Dbuild_av1_dec_fuzzer.sh60 make -j$(nproc)
/external/vulkan-validation-layers/build-android/
Dbuild_all.sh28 cores=$(nproc) || echo 4
/external/grpc-grpc-java/buildscripts/
Dmake_dependencies.sh17 NUM_CPU=$(nproc)
/external/ltp/testcases/kernel/fs/mongo/
Dmongo.pl89 $nproc = $PROCESSES;
505 mongo_x_process( $nproc ); # run n processes

12