/external/google-benchmark/src/ |
D | sysinfo.cc | 138 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 …]
|
D | console_reporter.cc | 33 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()
|
D | csv_reporter.cc | 30 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()
|
D | json_reporter.cc | 67 << FormatKV("num_cpus", static_cast<int64_t>(context.num_cpus)) in ReportContext()
|
D | benchmark.cc | 485 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/ |
D | os-solaris.h | 110 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/ |
D | nettest_xti.h | 56 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
|
D | nettest_bsd.h | 166 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
|
D | nettest_unix.h | 56 int num_cpus; member 100 int num_cpus; member 138 int num_cpus; member 185 int num_cpus; member
|
D | nettest_dlpi.h | 60 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
|
D | nettest_sdp.h | 63 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
|
D | nettest_sctp.h | 58 int num_cpus; /* how many CPUs had the remote? */ member 104 int num_cpus; /* how many CPUs had the remote? */ member
|
D | netlib.c | 3730 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()
|
D | netlib.h | 632 int num_cpus); 637 int num_cpus);
|
D | nettest_sdp.c | 673 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()
|
D | nettest_sctp.c | 868 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()
|
D | nettest_bsd.c | 2228 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 …]
|
D | nettest_unix.c | 602 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/ |
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/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/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()
|
/external/mesa3d/src/gallium/winsys/radeon/drm/ |
D | radeon_drm_winsys.h | 55 uint32_t num_cpus; /* Number of CPUs. */ member
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/power_monitor/ |
D | powermetrics_power_monitor.py | 165 num_cpus = len(core_dict[core_idx]['cpus']) 167 for cpu_idx in xrange(num_cpus):
|
/external/google-benchmark/include/benchmark/ |
D | reporter.h | 33 int num_cpus; member
|
/external/chromium-trace/catapult/perf_insights/perf_insights/ |
D | trace_info.py | 28 num_cpus = ndb.StringProperty(indexed=True, default=None) variable in TraceInfo
|