Searched refs:num_cpus (Results 1 - 25 of 48) sorted by relevance

12

/external/fio/os/
H A Dos-solaris.h109 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 Dskippy.cc39 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 Dplatform_AesThroughput.py20 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 Dreporter.cc41 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 Dreporter.cc41 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 Dgrpc_testlib_server.cc39 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 Dgrpc_testlib.cc41 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 Dptrace07.c95 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 Dhardware_Interrupt.py34 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 Dtrace_sched.c295 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 Dcpuctl_def_task01.c89 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 Dcpuctl_def_task02.c87 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 Dcpuctl_def_task03.c84 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 Dcpuctl_def_task04.c87 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 Dcpuctl_test01.c87 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 Dcpuctl_test03.c87 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 Dcpuctl_test04.c88 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 Drun_cpuctl_latency_test.sh102 num_cpus=`tst_ncpus`
103 log2 $num_cpus;
H A Dcpuctl_test02.c89 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 Dcpu_power.py177 num_cpus = num_cpus_in_mask(cpumask)
180 load_series[idx] = load_series[idx] / (max_freq * num_cpus)
/external/trappy/trappy/
H A Dcpu_power.py177 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 Dradeon_drm_winsys.h108 uint32_t num_cpus; /* Number of CPUs. */ member in struct:radeon_drm_winsys
/external/tensorflow/tensorflow/core/distributed_runtime/
H A Drpcbench_test.cc56 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 DSchedMultiAssert.py263 num_cpus = len(node)
264 return busy_time / (total_time * num_cpus) * 100
/external/mesa3d/src/gallium/auxiliary/hud/
H A Dhud_cpufreq.c130 int num_cpus = hud_get_num_cpufreq(0); local
131 if (num_cpus <= 0)

Completed in 845 milliseconds

12