/external/u-boot/arch/x86/cpu/ |
D | mp_init.c | 33 static int num_cpus; variable 216 static int load_sipi_vector(atomic_t **ap_countp, int num_cpus) in load_sipi_vector() argument 245 size = params->stack_size * num_cpus; in load_sipi_vector() 379 int num_aps = num_cpus - 1; in bsp_do_flight_plan() 514 num_cpus = cpu_get_count(cpu); in mp_init() 515 if (num_cpus < 0) { in mp_init() 516 debug("Cannot get number of CPUs: err=%d\n", num_cpus); in mp_init() 517 return num_cpus; in mp_init() 520 if (num_cpus < 2) in mp_init() 523 ret = check_cpu_devices(num_cpus); in mp_init() [all …]
|
/external/ltp/testcases/kernel/sched/tool/ |
D | trace_sched.c | 295 int num_cpus = UP; /* assume machine is an UP machine. */ in main() local 325 if ((num_cpus = atoi(optarg)) == 0) in main() 327 else if (num_cpus < 0) { in main() 330 num_cpus); in main() 331 num_cpus = UP; in main() 334 num_thrd = num_thrd * num_cpus; in main() 443 "Scheduling policy: %d\n", num_thrd, num_cpus, in main() 450 for (proc_ndx = 0; proc_ndx < num_cpus; proc_ndx++) { in main()
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
D | grpc_testlib_server.cc | 39 int num_cpus, int num_gpus, int task_index, in FillServerDef() argument 70 (*config->mutable_device_count())["CPU"] = num_cpus; in FillServerDef() 82 int num_cpus = 1; in main() local 89 tensorflow::Flag("num_cpus", &num_cpus, "number of CPUs"), in main() 100 tensorflow::Status s = tensorflow::FillServerDef(job_spec, job_name, num_cpus, in main()
|
D | grpc_testlib.cc | 42 int num_cpus = 1; in MakeTestCluster() local 46 num_cpus = iter->second; in MakeTestCluster() 64 strings::StrCat("--num_cpus=", num_cpus), in MakeTestCluster()
|
/external/ltp/testcases/kernel/controllers/cpuctl/ |
D | cpuctl_def_task01.c | 89 int num_cpus, test_num, len; /* Total time = TIME_INTERVAL*num_cpus */ in main() local 107 num_cpus = 0; in main() 120 ((num_cpus = atoi(argv[4])) <= 0) || in main() 209 (delta_time * num_cpus); in main() 212 (TIME_INTERVAL * num_cpus); in main()
|
D | cpuctl_def_task04.c | 87 int num_cpus; in main() local 108 num_cpus = 0; in main() 133 num_cpus = atoi(num_cpus_p); in main() 226 (delta_time * num_cpus); in main() 229 (TIME_INTERVAL * num_cpus); in main()
|
D | cpuctl_def_task02.c | 87 int num_cpus; in main() local 109 num_cpus = 0; in main() 134 num_cpus = atoi(num_cpus_p); in main() 220 (delta_time * num_cpus); in main() 223 (TIME_INTERVAL * num_cpus); in main()
|
D | cpuctl_test01.c | 87 int num_cpus; in main() local 108 num_cpus = 0; in main() 120 || ((num_cpus = atoi(argv[4])) <= 0) in main() 201 (delta_cpu_time * 100) / (delta_time * num_cpus); in main() 204 (delta_cpu_time * 100) / (TIME_INTERVAL * num_cpus); in main()
|
D | cpuctl_test03.c | 87 int num_cpus; /* Total time = TIME_INTERVAL *num_cpus in the machine */ in main() local 107 num_cpus = 0; in main() 133 num_cpus = atoi(num_cpus_p); in main() 208 (delta_cpu_time * 100) / (delta_time * num_cpus); in main() 211 (delta_cpu_time * 100) / (TIME_INTERVAL * num_cpus); in main()
|
D | cpuctl_test04.c | 88 int num_cpus; /* Total time = TIME_INTERVAL *num_cpus in the machine */ in main() local 108 num_cpus = 0; in main() 134 num_cpus = atoi(num_cpus_p); in main() 219 (delta_cpu_time * 100) / (delta_time * num_cpus); in main() 222 (delta_cpu_time * 100) / (TIME_INTERVAL * num_cpus); in main()
|
D | cpuctl_def_task03.c | 84 int test_num, task_num, len, num_cpus; in main() local 105 num_cpus = 0; in main() 130 num_cpus = atoi(num_cpus_p); in main() 216 (delta_time * num_cpus); in main() 219 (TIME_INTERVAL * num_cpus); in main()
|
D | cpuctl_test02.c | 89 int num_cpus; /* Total time = TIME_INTERVAL *num_cpus in the machine */ in main() local 111 num_cpus = 0; in main() 137 num_cpus = atoi(num_cpus_p); in main() 212 (delta_cpu_time * 100) / (delta_time * num_cpus); in main() 215 (delta_cpu_time * 100) / (TIME_INTERVAL * num_cpus); in main()
|
D | run_cpuctl_latency_test.sh | 102 num_cpus=`tst_ncpus` 103 log2 $num_cpus;
|
/external/autotest/client/site_tests/platform_AesThroughput/ |
D | platform_AesThroughput.py | 20 num_cpus = bin_utils.count_cpus() 21 logging.debug('Running using all cpus: %d' % num_cpus) 22 results = self.openssl_speed('aes-256-cbc', '-multi %d' % num_cpus)
|
/external/google-benchmark/src/ |
D | reporter.cc | 45 Out << "Run on (" << info.num_cpus << " X " in PrintBasicContext() 47 << ((info.num_cpus > 1) ? "s" : "") << ")\n"; in PrintBasicContext() 54 Out << " (x" << (info.num_cpus / CInfo.num_sharing) << ")"; in PrintBasicContext()
|
/external/libcxx/utils/google-benchmark/src/ |
D | reporter.cc | 45 Out << "Run on (" << info.num_cpus << " X " in PrintBasicContext() 47 << ((info.num_cpus > 1) ? "s" : "") << ")\n"; in PrintBasicContext() 54 Out << " (x" << (info.num_cpus / CInfo.num_sharing) << ")"; in PrintBasicContext()
|
D | sysinfo.cc | 209 bool CpuScalingEnabled(int num_cpus) { in CpuScalingEnabled() argument 211 if (num_cpus <= 0) return false; in CpuScalingEnabled() 217 for (int cpu = 0; cpu < num_cpus; ++cpu) { in CpuScalingEnabled() 637 : num_cpus(GetNumCPUs()), in CPUInfo() 640 scaling_enabled(CpuScalingEnabled(num_cpus)), in CPUInfo()
|
/external/ltp/testcases/kernel/syscalls/ptrace/ |
D | ptrace07.c | 95 int num_cpus = tst_ncpus(); in do_test() local 107 for (i = 0; i < num_cpus; i++) { in do_test() 181 for (i = 0; i < num_cpus; i++) { in do_test()
|
/external/perfetto/tools/skippy/ |
D | skippy.cc | 39 static size_t num_cpus = static_cast<size_t>(sysconf(_SC_NPROCESSORS_CONF)); in SkippyMain() local 50 cpu = (cpu + 1) % num_cpus; in SkippyMain()
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
D | rpcbench_test.cc | 56 int num_cpus = 1; in MakeGRPCCluster() local 60 num_cpus = iter->second; in MakeGRPCCluster() 69 worker_threads->Schedule([worker_idx, n, num_cpus, num_gpus, &port] { in MakeGRPCCluster() 83 (*config->mutable_device_count())["CPU"] = num_cpus; in MakeGRPCCluster()
|
/external/tensorflow/tensorflow/python/grappler/ |
D | graph_placer_test.py | 62 def _buildCluster(num_cpus=1, num_gpus=1): argument 85 assert num_cpus > 0 93 for i in range(num_cpus):
|
/external/autotest/client/site_tests/hardware_Interrupt/ |
D | hardware_Interrupt.py | 34 num_cpus = len(lines.pop(0).split()) 38 count = sum(map(int, fields[1:1 + num_cpus]))
|
/external/perfetto/tools/dump_ftrace_stats/ |
D | main.cc | 44 static size_t num_cpus = static_cast<size_t>(sysconf(_SC_NPROCESSORS_CONF)); in NumberOfCpus() local 45 return num_cpus; in NumberOfCpus()
|
/external/perfetto/src/traced/probes/ftrace/ |
D | ftrace_controller.cc | 227 const size_t num_cpus = ftrace_procfs_->NumberOfCpus(); in DrainCPUs() local 228 PERFETTO_DCHECK(cpu_readers_.size() == num_cpus); in DrainCPUs() 237 if (cur_flush_request_id_ && thread_sync_.flush_acks.count() >= num_cpus) { in DrainCPUs() 244 for (size_t cpu = 0; cpu < num_cpus; cpu++) { in DrainCPUs()
|
/external/google-breakpad/src/processor/ |
D | microdump.cc | 207 string num_cpus; in Microdump() local 215 os_tokens >> num_cpus; in Microdump() 221 system_info_->cpu_count = HexStrToL<uint8_t>(num_cpus); in Microdump()
|