OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CPU_COUNT
(Results
1 - 25
of
57
) sorted by null
1
2
3
/external/libmicrohttpd/src/testcurl/
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
85
MHD_OPTION_THREAD_POOL_SIZE,
CPU_COUNT
, MHD_OPTION_END);
test_concurrent_stop.c
35
#ifdef
CPU_COUNT
36
#undef
CPU_COUNT
38
#define
CPU_COUNT
40
50
#define PAR
CPU_COUNT
196
MHD_OPTION_THREAD_POOL_SIZE,
CPU_COUNT
,
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
60
#define PAR
CPU_COUNT
272
MHD_OPTION_THREAD_POOL_SIZE,
CPU_COUNT
, MHD_OPTION_END);
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
212
MHD_OPTION_THREAD_POOL_SIZE,
CPU_COUNT
, MHD_OPTION_END);
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
214
MHD_OPTION_THREAD_POOL_SIZE,
CPU_COUNT
,
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
253
MHD_OPTION_THREAD_POOL_SIZE,
CPU_COUNT
, MHD_OPTION_END);
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
440
errorCount += testGet (MHD_USE_SELECT_INTERNALLY,
CPU_COUNT
, 0);
446
errorCount += testGet (MHD_USE_SELECT_INTERNALLY,
CPU_COUNT
, MHD_USE_POLL);
451
errorCount += testGet (MHD_USE_SELECT_INTERNALLY,
CPU_COUNT
, MHD_USE_EPOLL_LINUX_ONLY);
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
316
MHD_OPTION_THREAD_POOL_SIZE,
CPU_COUNT
, MHD_OPTION_END);
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
228
MHD_OPTION_THREAD_POOL_SIZE,
CPU_COUNT
, MHD_OPTION_END);
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
277
MHD_OPTION_THREAD_POOL_SIZE,
CPU_COUNT
,
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
252
MHD_OPTION_THREAD_POOL_SIZE,
CPU_COUNT
, MHD_OPTION_END);
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
300
MHD_OPTION_THREAD_POOL_SIZE,
CPU_COUNT
,
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
260
MHD_OPTION_THREAD_POOL_SIZE,
CPU_COUNT
, MHD_OPTION_END);
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
250
MHD_OPTION_THREAD_POOL_SIZE,
CPU_COUNT
, MHD_OPTION_END);
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
260
MHD_OPTION_THREAD_POOL_SIZE,
CPU_COUNT
, MHD_OPTION_END);
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
224
MHD_OPTION_THREAD_POOL_SIZE,
CPU_COUNT
, MHD_OPTION_END);
/external/libmicrohttpd/src/examples/
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
44
#define NUMBER_OF_THREADS
CPU_COUNT
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
44
#define NUMBER_OF_THREADS
CPU_COUNT
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
53
#define NUMBER_OF_THREADS
CPU_COUNT
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
54
#define NUMBER_OF_THREADS
CPU_COUNT
/external/libmicrohttpd/src/testcurl/https/
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
105
int client_count = (
CPU_COUNT
- 1);
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
105
int client_count = (
CPU_COUNT
- 1);
/bionic/tests/
sched_test.cpp
77
TEST(sched,
cpu_count
) {
81
ASSERT_EQ(0,
CPU_COUNT
(&set));
84
ASSERT_EQ(2,
CPU_COUNT
(&set));
86
ASSERT_EQ(1,
CPU_COUNT
(&set));
93
ASSERT_EQ(0,
CPU_COUNT
(&set));
/external/fio/os/
os-freebsd.h
36
#define fio_cpu_count(mask)
CPU_COUNT
((mask))
/frameworks/base/core/java/android/os/
AsyncTask.java
183
private static final int
CPU_COUNT
= Runtime.getRuntime().availableProcessors();
187
private static final int CORE_POOL_SIZE = Math.max(2, Math.min(
CPU_COUNT
- 1, 4));
188
private static final int MAXIMUM_POOL_SIZE =
CPU_COUNT
* 2 + 1;
Completed in 297 milliseconds
1
2
3