/external/fio/os/ |
H A D | os-solaris.h | 109 unsigned int num_cpus; local 115 if (pset_info(*mask, NULL, &num_cpus, cpus) < 0) { 121 for (i = 0; i < num_cpus; i++) { 134 unsigned int num_cpus; local 136 if (pset_info(*mask, NULL, &num_cpus, NULL) < 0) 139 return num_cpus;
|
/external/perfetto/tools/skippy/ |
H A D | skippy.cc | 39 static size_t num_cpus = static_cast<size_t>(sysconf(_SC_NPROCESSORS_CONF)); local 50 cpu = (cpu + 1) % num_cpus;
|
/external/autotest/client/site_tests/platform_AesThroughput/ |
H A 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/ |
H A D | reporter.cc | 41 Out << "Run on (" << info.num_cpus << " X " 43 << ((info.num_cpus > 1) ? "s" : "") << ")\n"; 50 Out << " (x" << (info.num_cpus / CInfo.num_sharing) << ")";
|
/external/libcxx/utils/google-benchmark/src/ |
H A D | reporter.cc | 41 Out << "Run on (" << info.num_cpus << " X " 43 << ((info.num_cpus > 1) ? "s" : "") << ")\n"; 50 Out << " (x" << (info.num_cpus / CInfo.num_sharing) << ")";
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
H A D | grpc_testlib_server.cc | 39 int num_cpus, int num_gpus, int task_index, 70 (*config->mutable_device_count())["CPU"] = num_cpus; 82 int num_cpus = 1; local 89 tensorflow::Flag("num_cpus", &num_cpus, "number of CPUs"), 100 tensorflow::Status s = tensorflow::FillServerDef(job_spec, job_name, num_cpus, 38 FillServerDef(const string& job_spec, const string& job_name, int num_cpus, int num_gpus, int task_index, ServerDef* options) argument
|
H A D | grpc_testlib.cc | 41 int num_cpus = 1; local 45 num_cpus = iter->second; 58 strings::StrCat("--num_cpus=", num_cpus),
|
/external/ltp/testcases/kernel/syscalls/ptrace/ |
H A D | ptrace07.c | 95 int num_cpus = tst_ncpus(); local 107 for (i = 0; i < num_cpus; i++) { 161 for (i = 0; i < num_cpus + 1; i++) {
|
/external/autotest/client/site_tests/hardware_Interrupt/ |
H A D | hardware_Interrupt.py | 34 num_cpus = len(lines.pop(0).split()) 38 count = sum(map(int, fields[1:1 + num_cpus]))
|
/external/ltp/testcases/kernel/sched/tool/ |
H A D | trace_sched.c | 295 int num_cpus = UP; /* assume machine is an UP machine. */ local 325 if ((num_cpus = atoi(optarg)) == 0) 327 else if (num_cpus < 0) { 330 num_cpus); 331 num_cpus = UP; 334 num_thrd = num_thrd * num_cpus; 443 "Scheduling policy: %d\n", num_thrd, num_cpus, 450 for (proc_ndx = 0; proc_ndx < num_cpus; proc_ndx++) {
|
/external/ltp/testcases/kernel/controllers/cpuctl/ |
H A D | cpuctl_def_task01.c | 89 int num_cpus, test_num, len; /* Total time = TIME_INTERVAL*num_cpus */ local 107 num_cpus = 0; 120 ((num_cpus = atoi(argv[4])) <= 0) || 209 (delta_time * num_cpus); 212 (TIME_INTERVAL * num_cpus);
|
H A D | cpuctl_def_task02.c | 87 int num_cpus; local 109 num_cpus = 0; 134 num_cpus = atoi(num_cpus_p); 220 (delta_time * num_cpus); 223 (TIME_INTERVAL * num_cpus);
|
H A D | cpuctl_def_task03.c | 84 int test_num, task_num, len, num_cpus; local 105 num_cpus = 0; 130 num_cpus = atoi(num_cpus_p); 216 (delta_time * num_cpus); 219 (TIME_INTERVAL * num_cpus);
|
H A D | cpuctl_def_task04.c | 87 int num_cpus; local 108 num_cpus = 0; 133 num_cpus = atoi(num_cpus_p); 226 (delta_time * num_cpus); 229 (TIME_INTERVAL * num_cpus);
|
H A D | cpuctl_test01.c | 87 int num_cpus; local 89 int len; /* Total time = TIME_INTERVAL *num_cpus in the machine */ 108 num_cpus = 0; 120 || ((num_cpus = atoi(argv[4])) <= 0) 201 (delta_cpu_time * 100) / (delta_time * num_cpus); 204 (delta_cpu_time * 100) / (TIME_INTERVAL * num_cpus);
|
H A D | cpuctl_test03.c | 87 int num_cpus; /* Total time = TIME_INTERVAL *num_cpus in the machine */ local 107 num_cpus = 0; 133 num_cpus = atoi(num_cpus_p); 208 (delta_cpu_time * 100) / (delta_time * num_cpus); 211 (delta_cpu_time * 100) / (TIME_INTERVAL * num_cpus);
|
H A D | cpuctl_test04.c | 88 int num_cpus; /* Total time = TIME_INTERVAL *num_cpus in the machine */ local 108 num_cpus = 0; 134 num_cpus = atoi(num_cpus_p); 219 (delta_cpu_time * 100) / (delta_time * num_cpus); 222 (delta_cpu_time * 100) / (TIME_INTERVAL * num_cpus);
|
H A D | run_cpuctl_latency_test.sh | 102 num_cpus=`tst_ncpus` 103 log2 $num_cpus;
|
H A D | cpuctl_test02.c | 89 int num_cpus; /* Total time = TIME_INTERVAL *num_cpus in the machine */ local 111 num_cpus = 0; 137 num_cpus = atoi(num_cpus_p); 212 (delta_cpu_time * 100) / (delta_time * num_cpus); 215 (delta_cpu_time * 100) / (TIME_INTERVAL * num_cpus);
|
/external/trappy/tests/trappy/ |
H A D | cpu_power.py | 177 num_cpus = num_cpus_in_mask(cpumask) 180 load_series[idx] = load_series[idx] / (max_freq * num_cpus)
|
/external/trappy/trappy/ |
H A D | cpu_power.py | 177 num_cpus = num_cpus_in_mask(cpumask) 180 load_series[idx] = load_series[idx] / (max_freq * num_cpus)
|
/external/mesa3d/src/gallium/winsys/radeon/drm/ |
H A D | radeon_drm_winsys.h | 108 uint32_t num_cpus; /* Number of CPUs. */ member in struct:radeon_drm_winsys
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
H A D | rpcbench_test.cc | 56 int num_cpus = 1; local 60 num_cpus = iter->second; 69 worker_threads->Schedule([worker_idx, n, num_cpus, num_gpus, &port] { 83 (*config->mutable_device_count())["CPU"] = num_cpus;
|
/external/bart/bart/sched/ |
H A D | SchedMultiAssert.py | 263 num_cpus = len(node) 264 return busy_time / (total_time * num_cpus) * 100
|
/external/mesa3d/src/gallium/auxiliary/hud/ |
H A D | hud_cpufreq.c | 130 int num_cpus = hud_get_num_cpufreq(0); local 131 if (num_cpus <= 0)
|