/external/libmicrohttpd/m4/ |
D | ax_count_cpus.m4 | 14 # 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/ |
D | test_start_stop.c | 31 #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()
|
D | test_get_response_cleanup.c | 51 #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()
|
D | perf_get_concurrent.c | 44 #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()
|
D | test_concurrent_stop.c | 35 #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()
|
D | test_iplimit.c | 47 #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()
|
D | test_quiesce.c | 42 #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()
|
D | test_get_chunked.c | 43 #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()
|
D | test_put_chunked.c | 40 #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()
|
D | test_process_headers.c | 40 #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()
|
D | test_put.c | 39 #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()
|
D | perf_get.c | 53 #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()
|
D | test_postform.c | 42 #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()
|
D | test_post_loop.c | 40 #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()
|
D | test_large_put.c | 39 #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()
|
D | test_get_sendfile.c | 43 #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()
|
D | test_get.c | 49 #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()
|
D | test_post.c | 46 #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/ |
D | test_https_get_parallel.c | 37 #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()
|
D | test_https_get_parallel_threads.c | 39 #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()
|
/external/libmicrohttpd/src/examples/ |
D | benchmark.c | 28 #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
|
D | benchmark_https.c | 28 #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
|
D | demo.c | 42 #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
|
D | demo_https.c | 43 #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
|
/external/fio/os/ |
D | os.h | 336 #ifndef CPU_COUNT 338 static inline int CPU_COUNT(os_cpu_mask_t *mask) in CPU_COUNT() function
|