HomeSort by relevance Sort by last modified time
    Searched refs:num_cpus (Results 1 - 25 of 60) sorted by null

1 2 3

  /build/kati/
affinity.cc 34 std::uniform_int_distribution<int> distribution(0,g_flags.num_cpus-1);
44 if (g_flags.num_cpus > 1)
54 for (int i = 0; i < g_flags.num_cpus; i++) {
flags.h 52 int num_cpus; member in struct:Flags
  /external/fio/os/
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/google-benchmark/src/
reporter.cc 39 Out << "Run on (" << context.num_cpus << " X " << context.mhz_per_cpu
40 << " MHz CPU " << ((context.num_cpus > 1) ? "s" : "") << ")\n";
sysinfo.cc 156 int num_cpus = 0; local
200 num_cpus++; // count up every time we see an "processor :" entry
222 if (num_cpus == 0) {
225 if ((max_cpu_id + 1) != num_cpus) {
230 cpuinfo_num_cpus = num_cpus;
285 int32_t num_cpus = 0;
286 size_t size = sizeof(num_cpus);
287 if (::sysctlbyname("hw.ncpu", &num_cpus, &size, nullptr, 0) == 0 &&
288 (size == sizeof(num_cpus))) {
289 cpuinfo_num_cpus = num_cpus;
    [all...]
  /external/libcxx/utils/google-benchmark/src/
reporter.cc 39 Out << "Run on (" << context.num_cpus << " X " << context.mhz_per_cpu
40 << " MHz CPU " << ((context.num_cpus > 1) ? "s" : "") << ")\n";
sysinfo.cc 154 int num_cpus = 0; local
198 num_cpus++; // count up every time we see an "processor :" entry
220 if (num_cpus == 0) {
223 if ((max_cpu_id + 1) != num_cpus) {
228 cpuinfo_num_cpus = num_cpus;
283 int32_t num_cpus = 0;
284 size_t size = sizeof(num_cpus);
285 if (::sysctlbyname("hw.ncpu", &num_cpus, &size, nullptr, 0) == 0 &&
286 (size == sizeof(num_cpus))) {
287 cpuinfo_num_cpus = num_cpus;
    [all...]
  /external/netperf/src/
nettest_dlpi.h 60 int num_cpus; /* how many CPUs were there? */ member in struct:dlpi_co_stream_results_struct
106 int num_cpus; /* how many CPUs were there? */ member in struct:dlpi_co_rr_results_struct
146 int num_cpus; member in struct:dlpi_cl_stream_results_struct
196 int num_cpus; /* how many CPUs were there? */ member in struct:dlpi_cl_rr_results_struct
nettest_unix.h 56 int num_cpus; member in struct:stream_stream_results_struct
100 int num_cpus; member in struct:stream_rr_results_struct
138 int num_cpus; member in struct:dg_stream_results_struct
185 int num_cpus; member in struct:dg_rr_results_struct
nettest_sdp.h 63 int num_cpus; /* how many CPUs had the remote? */ member in struct:sdp_stream_results_struct
109 int num_cpus; /* how many CPUs had the remote? */ member in struct:sdp_rr_results_struct
160 int num_cpus; /* how many CPUs had the remote? */ member in struct:sdp_maerts_results_struct
nettest_xti.h 56 int num_cpus; /* how many CPUs were there */ member in struct:xti_tcp_stream_results_struct
101 int num_cpus; /* how many CPUs were there */ member in struct:xti_tcp_rr_results_struct
147 int num_cpus; /* how many CPUs were there */ member in struct:xti_tcp_conn_rr_results_struct
185 int num_cpus; /* how many CPUs were there */ member in struct:xti_udp_stream_results_struct
231 int num_cpus; /* how many CPUs were there */ member in struct:xti_udp_rr_results_struct
nettest_sctp.h 58 int num_cpus; /* how many CPUs had the remote? */ member in struct:sctp_stream_results_struct
104 int num_cpus; /* how many CPUs had the remote? */ member in struct:sctp_rr_results_struct
nettest_bsd.h 166 uint32_t num_cpus; /* number of CPUs in remote */ member in struct:omni_results_struct
239 int num_cpus; /* how many CPUs had the remote? */ member in struct:tcp_stream_results_struct
292 int num_cpus; /* how many CPUs had the remote? */ member in struct:tcp_maerts_results_struct
337 int num_cpus; /* how many CPUs had the remote? */ member in struct:tcp_rr_results_struct
383 int num_cpus; /* how many CPUs had the remote? */ member in struct:tcp_conn_rr_results_struct
429 int num_cpus; /* how many CPUs had the remote? */ member in struct:tcp_tran_rr_results_struct
470 int num_cpus; /* how many CPUs had the remote? */ member in struct:udp_stream_results_struct
516 int num_cpus; /* how many CPUs had the remote? */ member in struct:udp_rr_results_struct
562 int num_cpus; /* how many CPUs had the remote? */ member in struct:tcp_cc_results_struct
  /external/autotest/client/site_tests/platform_AesThroughput/
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/ltp/testcases/kernel/sched/tool/
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/
cpuctl_def_task01.c 88 int num_cpus, test_num, len; /* Total time = TIME_INTERVAL*num_cpus */ local
106 num_cpus = 0;
119 ((num_cpus = atoi(argv[4])) <= 0) ||
210 (delta_time * num_cpus);
213 (TIME_INTERVAL * num_cpus);
cpuctl_def_task02.c 86 int num_cpus; local
108 num_cpus = 0;
122 num_cpus_p = getenv("NUM_CPUS");
133 num_cpus = atoi(num_cpus_p);
222 (delta_time * num_cpus);
225 (TIME_INTERVAL * num_cpus);
cpuctl_def_task03.c 83 int test_num, task_num, len, num_cpus; local
104 num_cpus = 0;
118 num_cpus_p = getenv("NUM_CPUS");
129 num_cpus = atoi(num_cpus_p);
217 (delta_time * num_cpus);
220 (TIME_INTERVAL * num_cpus);
cpuctl_def_task04.c 86 int num_cpus; local
107 num_cpus = 0;
121 num_cpus_p = getenv("NUM_CPUS");
132 num_cpus = atoi(num_cpus_p);
227 (delta_time * num_cpus);
230 (TIME_INTERVAL * num_cpus);
cpuctl_test01.c 86 int num_cpus; local
88 int len; /* Total time = TIME_INTERVAL *num_cpus in the machine */
107 num_cpus = 0;
119 || ((num_cpus = atoi(argv[4])) <= 0)
204 (delta_cpu_time * 100) / (delta_time * num_cpus);
207 (delta_cpu_time * 100) / (TIME_INTERVAL * num_cpus);
cpuctl_test03.c 86 int num_cpus; /* Total time = TIME_INTERVAL *num_cpus in the machine */ local
106 num_cpus = 0;
120 num_cpus_p = getenv("NUM_CPUS");
132 num_cpus = atoi(num_cpus_p);
211 (delta_cpu_time * 100) / (delta_time * num_cpus);
214 (delta_cpu_time * 100) / (TIME_INTERVAL * num_cpus);
cpuctl_test04.c 87 int num_cpus; /* Total time = TIME_INTERVAL *num_cpus in the machine */ local
107 num_cpus = 0;
121 num_cpus_p = getenv("NUM_CPUS");
133 num_cpus = atoi(num_cpus_p);
222 (delta_cpu_time * 100) / (delta_time * num_cpus);
225 (delta_cpu_time * 100) / (TIME_INTERVAL * num_cpus);
run_cpuctl_latency_test.sh 102 num_cpus=`tst_ncpus`
103 log2 $num_cpus;
173 NUM_CPUS=`tst_ncpus`
cpuctl_test02.c 88 int num_cpus; /* Total time = TIME_INTERVAL *num_cpus in the machine */ local
110 num_cpus = 0;
124 num_cpus_p = getenv("NUM_CPUS");
136 num_cpus = atoi(num_cpus_p);
215 (delta_cpu_time * 100) / (delta_time * num_cpus);
218 (delta_cpu_time * 100) / (TIME_INTERVAL * num_cpus);
  /external/autotest/client/site_tests/hardware_Interrupt/
hardware_Interrupt.py 34 num_cpus = len(lines.pop(0).split())
38 count = sum(map(int, fields[1:1 + num_cpus]))

Completed in 755 milliseconds

1 2 3