Searched refs:cpu_core_count (Results 1 – 3 of 3) sorted by relevance
/external/AFLplusplus/src/ |
D | afl-fuzz-init.c | 167 if (afl->cpu_core_count < 2) { return; } 410 for (i = 0; i < afl->cpu_core_count; i++) { 417 for (i = afl->cpu_core_count - 1; i > -1; i--) { 441 if (i == afl->cpu_core_count || i == -1) { 449 afl->cpu_core_count, 2538 size_t s = sizeof(afl->cpu_core_count); 2544 if (sysctlbyname("hw.logicalcpu", &afl->cpu_core_count, &s, NULL, 0) < 0) 2551 if (sysctl(s_name, 2, &afl->cpu_core_count, &s, NULL, 0) < 0) return; 2559 afl->cpu_core_count = sysconf(_SC_NPROCESSORS_ONLN); 2569 if (!strncmp(tmp, "cpu", 3) && isdigit(tmp[3])) ++afl->cpu_core_count; [all …]
|
D | afl-fuzz-stats.c | 1336 if (afl->cpu_core_count) { 1341 u32 cur_utilization = cur_runnable * 100 / afl->cpu_core_count; 1347 if (afl->cpu_core_count > 1 && cur_runnable + 1 <= afl->cpu_core_count) { 2186 if (afl->cpu_core_count) { 2191 u32 cur_utilization = cur_runnable * 100 / afl->cpu_core_count; 2197 if (afl->cpu_core_count > 1 && cur_runnable + 1 <= afl->cpu_core_count) {
|
/external/AFLplusplus/include/ |
D | afl-fuzz.h | 686 s32 cpu_core_count, /* CPU core count */ member
|