Home
last modified time | relevance | path

Searched refs:num_cpus (Results 1 – 25 of 31) sorted by relevance

12

/external/google-benchmark/src/
Dsysinfo.cc138 int num_cpus = 0; in InitializeSystemInfo() local
182 num_cpus++; // count up every time we see an "processor :" entry in InitializeSystemInfo()
203 if (num_cpus == 0) { in InitializeSystemInfo()
206 if ((max_cpu_id + 1) != num_cpus) { in InitializeSystemInfo()
211 cpuinfo_num_cpus = num_cpus; in InitializeSystemInfo()
272 int num_cpus = 0; in InitializeSystemInfo()
273 size_t size = sizeof(num_cpus); in InitializeSystemInfo()
275 if (::sysctl(numcpus_name, arraysize(numcpus_name), &num_cpus, &size, nullptr, 0) == in InitializeSystemInfo()
277 (size == sizeof(num_cpus))) in InitializeSystemInfo()
278 cpuinfo_num_cpus = num_cpus; in InitializeSystemInfo()
[all …]
Dconsole_reporter.cc33 std::cerr << "Run on (" << context.num_cpus << " X " << context.mhz_per_cpu in ReportContext()
34 << " MHz CPU " << ((context.num_cpus > 1) ? "s" : "") << ")\n"; in ReportContext()
Dcsv_reporter.cc30 std::cerr << "Run on (" << context.num_cpus << " X " << context.mhz_per_cpu in ReportContext()
31 << " MHz CPU " << ((context.num_cpus > 1) ? "s" : "") << ")\n"; in ReportContext()
Djson_reporter.cc67 << FormatKV("num_cpus", static_cast<int64_t>(context.num_cpus)) in ReportContext()
Dbenchmark.cc485 static int num_cpus = NumCPUs(); in ThreadPerCpu() local
486 thread_counts_.push_back(num_cpus); in ThreadPerCpu()
802 context.num_cpus = NumCPUs(); in RunMatchingBenchmarks()
/external/fio/os/
Dos-solaris.h110 unsigned int num_cpus; in fio_cpu_isset() local
116 if (pset_info(*mask, NULL, &num_cpus, cpus) < 0) { in fio_cpu_isset()
122 for (i = 0; i < num_cpus; i++) { in fio_cpu_isset()
135 unsigned int num_cpus; in fio_cpu_count() local
137 if (pset_info(*mask, NULL, &num_cpus, NULL) < 0) in fio_cpu_count()
140 return num_cpus; in fio_cpu_count()
/external/netperf/src/
Dnettest_xti.h56 int num_cpus; /* how many CPUs were there */ member
101 int num_cpus; /* how many CPUs were there */ member
147 int num_cpus; /* how many CPUs were there */ member
185 int num_cpus; /* how many CPUs were there */ member
231 int num_cpus; /* how many CPUs were there */ member
Dnettest_bsd.h166 uint32_t num_cpus; /* number of CPUs in remote */ member
239 int num_cpus; /* how many CPUs had the remote? */ member
292 int num_cpus; /* how many CPUs had the remote? */ member
337 int num_cpus; /* how many CPUs had the remote? */ member
383 int num_cpus; /* how many CPUs had the remote? */ member
429 int num_cpus; /* how many CPUs had the remote? */ member
470 int num_cpus; /* how many CPUs had the remote? */ member
516 int num_cpus; /* how many CPUs had the remote? */ member
562 int num_cpus; /* how many CPUs had the remote? */ member
Dnettest_unix.h56 int num_cpus; member
100 int num_cpus; member
138 int num_cpus; member
185 int num_cpus; member
Dnettest_dlpi.h60 int num_cpus; /* how many CPUs were there? */ member
106 int num_cpus; /* how many CPUs were there? */ member
146 int num_cpus; member
196 int num_cpus; /* how many CPUs were there? */ member
Dnettest_sdp.h63 int num_cpus; /* how many CPUs had the remote? */ member
109 int num_cpus; /* how many CPUs had the remote? */ member
160 int num_cpus; /* how many CPUs had the remote? */ member
Dnettest_sctp.h58 int num_cpus; /* how many CPUs had the remote? */ member
104 int num_cpus; /* how many CPUs had the remote? */ member
Dnetlib.c3730 int num_cpus) in calc_service_demand_internal() argument
3746 num_cpus); in calc_service_demand_internal()
3750 if (num_cpus == 0) num_cpus = lib_num_loc_cpus; in calc_service_demand_internal()
3774 (float) num_cpus; in calc_service_demand_internal()
3787 num_cpus, in calc_service_demand_internal()
3798 int num_cpus) in calc_service_demand() argument
3808 num_cpus)); in calc_service_demand()
3815 int num_cpus) in calc_service_demand_fmt() argument
3827 num_cpus)); in calc_service_demand_fmt()
Dnetlib.h632 int num_cpus);
637 int num_cpus);
Dnettest_sdp.c673 sdp_stream_result->num_cpus); in send_sdp_stream()
1381 sdp_maerts_result->num_cpus); in send_sdp_maerts()
1875 sdp_stream_results->num_cpus = lib_num_loc_cpus; in recv_sdp_stream()
2244 sdp_maerts_results->num_cpus = lib_num_loc_cpus; in recv_sdp_maerts()
2805 sdp_rr_result->num_cpus); in send_sdp_rr()
3338 sdp_rr_results->num_cpus = lib_num_loc_cpus; in recv_sdp_rr()
Dnettest_sctp.c868 sctp_stream_result->num_cpus); in send_sctp_stream()
1433 sctp_stream_results->num_cpus = lib_num_loc_cpus; in recv_sctp_stream()
2026 sctp_stream_result->num_cpus); in send_sctp_stream_1toMany()
2551 sctp_stream_results->num_cpus = lib_num_loc_cpus; in recv_sctp_stream_1toMany()
3063 sctp_rr_result->num_cpus); in send_sctp_rr()
3585 sctp_rr_results->num_cpus = lib_num_loc_cpus; in recv_sctp_rr()
4112 sctp_rr_result->num_cpus); in send_sctp_rr_1toMany()
4632 sctp_rr_results->num_cpus = lib_num_loc_cpus; in recv_sctp_rr_1toMany()
Dnettest_bsd.c2228 tcp_stream_result->num_cpus); in send_tcp_stream()
2956 tcp_maerts_result->num_cpus); in send_tcp_maerts()
3914 tcp_stream_result->num_cpus); in send_exs_tcp_stream()
4680 tcp_stream_result->num_cpus);
5206 tcp_stream_results->num_cpus = lib_num_loc_cpus; in recv_tcp_stream()
5584 tcp_maerts_results->num_cpus = lib_num_loc_cpus; in recv_tcp_maerts()
6176 tcp_rr_result->num_cpus); in send_tcp_rr()
6862 udp_stream_results->num_cpus); in send_udp_stream()
7336 udp_stream_results->num_cpus = lib_num_loc_cpus; in recv_udp_stream()
7847 udp_rr_result->num_cpus); in send_udp_rr()
[all …]
Dnettest_unix.c602 stream_stream_result->num_cpus); in send_stream_stream()
1415 stream_rr_result->num_cpus); in send_stream_rr()
1849 dg_stream_results->num_cpus); in send_dg_stream()
2627 dg_rr_result->num_cpus); in send_dg_rr()
/external/autotest/client/site_tests/platform_AesThroughput/
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/autotest/client/site_tests/hardware_Interrupt/
Dhardware_Interrupt.py34 num_cpus = len(lines.pop(0).split())
38 count = sum(map(int, fields[1:1 + num_cpus]))
/external/google-breakpad/src/processor/
Dmicrodump.cc207 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()
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_winsys.h55 uint32_t num_cpus; /* Number of CPUs. */ member
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/power_monitor/
Dpowermetrics_power_monitor.py165 num_cpus = len(core_dict[core_idx]['cpus'])
167 for cpu_idx in xrange(num_cpus):
/external/google-benchmark/include/benchmark/
Dreporter.h33 int num_cpus; member
/external/chromium-trace/catapult/perf_insights/perf_insights/
Dtrace_info.py28 num_cpus = ndb.StringProperty(indexed=True, default=None) variable in TraceInfo

12