Home
last modified time | relevance | path

Searched refs:CPU_COUNT (Results 1 – 25 of 51) sorted by relevance

123

/external/libmicrohttpd/m4/
Dax_count_cpus.m414 # The value is placed in the CPU_COUNT variable.
34 CPU_COUNT="0"
41 CPU_COUNT=`/usr/sbin/sysctl -n hw.ncpu`
45 AS_IF([test "x$CPU_COUNT" = "x0" -a -e /proc/cpuinfo],[
46 AS_IF([test "x$CPU_COUNT" = "x0" -a -e /proc/cpuinfo],[
47 CPU_COUNT=`$EGREP -c '^processor' /proc/cpuinfo`
52 CPU_COUNT="$NUMBER_OF_PROCESSORS"
56 CPU_COUNT="$NUMBER_OF_PROCESSORS"
60 AS_IF([test "x$CPU_COUNT" = "x0"],[
61 CPU_COUNT="1"
[all …]
/external/libmicrohttpd/src/testcurl/
Dtest_start_stop.c31 #if defined(CPU_COUNT) && (CPU_COUNT+0) < 2
32 #undef CPU_COUNT
34 #if !defined(CPU_COUNT)
35 #define CPU_COUNT 2 macro
85 MHD_OPTION_THREAD_POOL_SIZE, CPU_COUNT, MHD_OPTION_END); in testMultithreadedPoolGet()
Dtest_get_response_cleanup.c51 #if defined(CPU_COUNT) && (CPU_COUNT+0) < 2
52 #undef CPU_COUNT
54 #if !defined(CPU_COUNT)
55 #define CPU_COUNT 2 macro
212 MHD_OPTION_THREAD_POOL_SIZE, CPU_COUNT, MHD_OPTION_END); in testMultithreadedPoolGet()
Dperf_get_concurrent.c44 #if defined(CPU_COUNT) && (CPU_COUNT+0) < 2
45 #undef CPU_COUNT
47 #if !defined(CPU_COUNT)
48 #define CPU_COUNT 2 macro
60 #define PAR CPU_COUNT
272 MHD_OPTION_THREAD_POOL_SIZE, CPU_COUNT, MHD_OPTION_END); in testMultithreadedPoolGet()
Dtest_concurrent_stop.c35 #ifdef CPU_COUNT
36 #undef CPU_COUNT
38 #define CPU_COUNT 40 macro
50 #define PAR CPU_COUNT
196 MHD_OPTION_THREAD_POOL_SIZE, CPU_COUNT, in testMultithreadedPoolGet()
Dtest_iplimit.c47 #if defined(CPU_COUNT) && (CPU_COUNT+0) < 2
48 #undef CPU_COUNT
50 #if !defined(CPU_COUNT)
51 #define CPU_COUNT 2 macro
214 MHD_OPTION_THREAD_POOL_SIZE, CPU_COUNT, in testMultithreadedPoolGet()
Dtest_quiesce.c42 #if defined(CPU_COUNT) && (CPU_COUNT+0) < 2
43 #undef CPU_COUNT
45 #if !defined(CPU_COUNT)
46 #define CPU_COUNT 2 macro
440 errorCount += testGet (MHD_USE_SELECT_INTERNALLY, CPU_COUNT, 0); in main()
446 errorCount += testGet (MHD_USE_SELECT_INTERNALLY, CPU_COUNT, MHD_USE_POLL); in main()
451 errorCount += testGet (MHD_USE_SELECT_INTERNALLY, CPU_COUNT, MHD_USE_EPOLL_LINUX_ONLY); in main()
Dtest_get_chunked.c43 #if defined(CPU_COUNT) && (CPU_COUNT+0) < 2
44 #undef CPU_COUNT
46 #if !defined(CPU_COUNT)
47 #define CPU_COUNT 2 macro
253 MHD_OPTION_THREAD_POOL_SIZE, CPU_COUNT, MHD_OPTION_END); in testMultithreadedPoolGet()
Dtest_put_chunked.c40 #if defined(CPU_COUNT) && (CPU_COUNT+0) < 2
41 #undef CPU_COUNT
43 #if !defined(CPU_COUNT)
44 #define CPU_COUNT 2 macro
260 MHD_OPTION_THREAD_POOL_SIZE, CPU_COUNT, MHD_OPTION_END); in testMultithreadedPoolPut()
Dtest_process_headers.c40 #if defined(CPU_COUNT) && (CPU_COUNT+0) < 2
41 #undef CPU_COUNT
43 #if !defined(CPU_COUNT)
44 #define CPU_COUNT 2 macro
260 MHD_OPTION_THREAD_POOL_SIZE, CPU_COUNT, MHD_OPTION_END); in testMultithreadedPoolGet()
Dperf_get.c53 #if defined(CPU_COUNT) && (CPU_COUNT+0) < 2
54 #undef CPU_COUNT
56 #if !defined(CPU_COUNT)
57 #define CPU_COUNT 2 macro
316 MHD_OPTION_THREAD_POOL_SIZE, CPU_COUNT, MHD_OPTION_END); in testMultithreadedPoolGet()
Dtest_put.c39 #if defined(CPU_COUNT) && (CPU_COUNT+0) < 2
40 #undef CPU_COUNT
42 #if !defined(CPU_COUNT)
43 #define CPU_COUNT 2 macro
250 MHD_OPTION_THREAD_POOL_SIZE, CPU_COUNT, MHD_OPTION_END); in testMultithreadedPoolPut()
Dtest_postform.c42 #if defined(CPU_COUNT) && (CPU_COUNT+0) < 2
43 #undef CPU_COUNT
45 #if !defined(CPU_COUNT)
46 #define CPU_COUNT 2 macro
300 MHD_OPTION_THREAD_POOL_SIZE, CPU_COUNT, in testMultithreadedPoolPost()
Dtest_get_sendfile.c43 #if defined(CPU_COUNT) && (CPU_COUNT+0) < 2
44 #undef CPU_COUNT
46 #if !defined(CPU_COUNT)
47 #define CPU_COUNT 2 macro
228 MHD_OPTION_THREAD_POOL_SIZE, CPU_COUNT, MHD_OPTION_END); in testMultithreadedPoolGet()
Dtest_large_put.c39 #if defined(CPU_COUNT) && (CPU_COUNT+0) < 2
40 #undef CPU_COUNT
42 #if !defined(CPU_COUNT)
43 #define CPU_COUNT 2 macro
277 MHD_OPTION_THREAD_POOL_SIZE, CPU_COUNT, in testMultithreadedPoolPut()
Dtest_post_loop.c40 #if defined(CPU_COUNT) && (CPU_COUNT+0) < 2
41 #undef CPU_COUNT
43 #if !defined(CPU_COUNT)
44 #define CPU_COUNT 2 macro
252 MHD_OPTION_THREAD_POOL_SIZE, CPU_COUNT, MHD_OPTION_END); in testMultithreadedPoolPost()
Dtest_get.c49 #if defined(CPU_COUNT) && (CPU_COUNT+0) < 2
50 #undef CPU_COUNT
52 #if !defined(CPU_COUNT)
53 #define CPU_COUNT 2 macro
224 MHD_OPTION_THREAD_POOL_SIZE, CPU_COUNT, MHD_OPTION_END); in testMultithreadedPoolGet()
Dtest_post.c46 #if defined(CPU_COUNT) && (CPU_COUNT+0) < 2
47 #undef CPU_COUNT
49 #if !defined(CPU_COUNT)
50 #define CPU_COUNT 2 macro
283 MHD_OPTION_THREAD_POOL_SIZE, CPU_COUNT, in testMultithreadedPoolPost()
/external/libmicrohttpd/src/testcurl/https/
Dtest_https_get_parallel_threads.c39 #if defined(CPU_COUNT) && (CPU_COUNT+0) < 4
40 #undef CPU_COUNT
42 #if !defined(CPU_COUNT)
43 #define CPU_COUNT 4 macro
105 int client_count = (CPU_COUNT - 1); in test_parallel_clients()
Dtest_https_get_parallel.c37 #if defined(CPU_COUNT) && (CPU_COUNT+0) < 4
38 #undef CPU_COUNT
40 #if !defined(CPU_COUNT)
41 #define CPU_COUNT 4 macro
105 int client_count = (CPU_COUNT - 1); in test_parallel_clients()
/external/libmicrohttpd/src/examples/
Dbenchmark_https.c28 #if defined(CPU_COUNT) && (CPU_COUNT+0) < 2
29 #undef CPU_COUNT
31 #if !defined(CPU_COUNT)
32 #define CPU_COUNT 2 macro
44 #define NUMBER_OF_THREADS CPU_COUNT
Dbenchmark.c28 #if defined(CPU_COUNT) && (CPU_COUNT+0) < 2
29 #undef CPU_COUNT
31 #if !defined(CPU_COUNT)
32 #define CPU_COUNT 2 macro
44 #define NUMBER_OF_THREADS CPU_COUNT
Ddemo_https.c43 #if defined(CPU_COUNT) && (CPU_COUNT+0) < 2
44 #undef CPU_COUNT
46 #if !defined(CPU_COUNT)
47 #define CPU_COUNT 2 macro
54 #define NUMBER_OF_THREADS CPU_COUNT
Ddemo.c42 #if defined(CPU_COUNT) && (CPU_COUNT+0) < 2
43 #undef CPU_COUNT
45 #if !defined(CPU_COUNT)
46 #define CPU_COUNT 2 macro
53 #define NUMBER_OF_THREADS CPU_COUNT
/external/ltp/testcases/kernel/hotplug/cpu_hotplug/functional/
Dcpuhotplug01.sh66 CPU_COUNT=$((CPU_COUNT+1))
67 eval "OFFLINE_CPU_${CPU_COUNT}=$1"
137 CPU_COUNT=0

123