| /src/external/lgpl2/userspace-rcu/dist/tests/unit/ |
| test_get_max_cpuid_from_sysfs | 39 local num_cpus=$1 46 is "$result" "$num_cpus" "get_max_cpuid_from_sysfs - cpu set: '${current_cpus[*]}', expected: '$num_cpus', result: '$result'"
|
| test_get_max_cpuid_from_sysfs_cxx | 39 local num_cpus=$1 46 is "$result" "$num_cpus" "get_max_cpuid_from_sysfs_cxx - cpu set: '${current_cpus[*]}', expected: '$num_cpus', result: '$result'"
|
| /src/external/apache2/llvm/dist/llvm/utils/benchmark/src/ |
| reporter.cc | 44 Out << "Run on (" << info.num_cpus << " X " 46 << ((info.num_cpus > 1) ? "s" : "") << ")\n"; 53 Out << " (x" << (info.num_cpus / CInfo.num_sharing) << ")";
|
| sysinfo.cc | 207 bool CpuScalingEnabled(int num_cpus) { 209 if (num_cpus <= 0) return false; 215 for (int cpu = 0; cpu < num_cpus; ++cpu) { 580 : num_cpus(GetNumCPUs()), 583 scaling_enabled(CpuScalingEnabled(num_cpus)) {}
|
| json_reporter.cc | 85 out << indent << FormatKV("num_cpus", static_cast<int64_t>(info.num_cpus))
|
| benchmark_register.cc | 435 thread_counts_.push_back(CPUInfo::Get().num_cpus);
|
| /src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/ |
| reporter.cc | 45 Out << "Run on (" << info.num_cpus << " X " 47 << ((info.num_cpus > 1) ? "s" : "") << ")\n"; 54 Out << " (x" << (info.num_cpus / CInfo.num_sharing) << ")";
|
| sysinfo.cc | 209 bool CpuScalingEnabled(int num_cpus) { 211 if (num_cpus <= 0) return false; 217 for (int cpu = 0; cpu < num_cpus; ++cpu) { 637 : num_cpus(GetNumCPUs()), 640 scaling_enabled(CpuScalingEnabled(num_cpus)),
|
| json_reporter.cc | 92 out << indent << FormatKV("num_cpus", static_cast<int64_t>(info.num_cpus))
|
| benchmark_register.cc | 456 thread_counts_.push_back(CPUInfo::Get().num_cpus);
|
| /src/external/mit/libuv/dist/src/unix/ |
| qnx.c | 122 int num_cpus = _syspage_ptr->num_cpu; local 125 *count = num_cpus; 126 *cpu_infos = uv__malloc(num_cpus * sizeof(**cpu_infos)); 130 for (i = 0; i < num_cpus; i++) {
|
| /src/external/bsd/top/dist/machine/ |
| m_svr4.c | 293 static int num_cpus; local 303 if (read(fd_cpu, &num_cpus, sizeof(int)) != sizeof(int)) { 310 mpinfo = (struct sysinfo *)calloc(num_cpus, sizeof(mpinfo[0])); 317 read_sysinfos(num_cpus, mpinfo); 319 sysinfo_data(num_cpus, &sysinfo, mpinfo); 705 read_sysinfos(num_cpus, buf) 706 int num_cpus; 721 read_sz = num_cpus * sizeof(buf[0]); 731 sysinfo_data(num_cpus, global_si, percpu_si) 732 int num_cpus; [all...] |
| /src/external/gpl3/gcc/dist/maintainer-scripts/ |
| gcc_release | 262 num_cpus=1 264 num_cpus=`getconf _NPROCESSORS_ONLN 2>/dev/null` 265 case "$num_cpus" in 266 '' | 0* | *[!0-9]*) num_cpus=1;; 271 -m "-j$num_cpus" build || \
|
| /src/external/gpl3/gcc.old/dist/maintainer-scripts/ |
| gcc_release | 262 num_cpus=1 264 num_cpus=`getconf _NPROCESSORS_ONLN 2>/dev/null` 265 case "$num_cpus" in 266 '' | 0* | *[!0-9]*) num_cpus=1;; 271 -m "-j$num_cpus" build || \
|
| /src/sys/external/mit/xen-include-public/dist/xen/include/public/ |
| sysctl.h | 451 * - a NULL 'cputopo' handle is a request for maximun 'num_cpus'. 455 * - If 'num_cpus' is less than the number Xen wants to write but the handle 456 * handle is not a NULL one, partial data gets returned and 'num_cpus' gets 458 * - Otherwise, 'num_cpus' shall indicate the number of entries written, which 462 uint32_t num_cpus; member in struct:xen_sysctl_cputopoinfo
|
| /src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/include/benchmark/ |
| benchmark.h | 1283 int num_cpus; member in struct:benchmark::CPUInfo
|
| /src/external/apache2/llvm/dist/llvm/utils/benchmark/include/benchmark/ |
| benchmark.h | 1244 int num_cpus;
|