/external/fio/os/ |
H A D | os-solaris.h | 110 unsigned int num_cpus; local 116 if (pset_info(*mask, NULL, &num_cpus, cpus) < 0) { 122 for (i = 0; i < num_cpus; i++) { 135 unsigned int num_cpus; local 137 if (pset_info(*mask, NULL, &num_cpus, NULL) < 0) 140 return num_cpus;
|
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/radeon/drm/ |
H A D | radeon_drm_winsys.h | 55 uint32_t num_cpus; /* Number of CPUs. */ member in struct:radeon_drm_winsys
|
H A D | radeon_drm_winsys.c | 259 ws->num_cpus = sysconf(_SC_NPROCESSORS_ONLN);
|
/external/mesa3d/src/gallium/winsys/radeon/drm/ |
H A D | radeon_drm_winsys.h | 55 uint32_t num_cpus; /* Number of CPUs. */ member in struct:radeon_drm_winsys
|
H A D | radeon_drm_winsys.c | 259 ws->num_cpus = sysconf(_SC_NPROCESSORS_ONLN);
|
/external/netperf/ |
H A D | 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
|
H A D | 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
|
H A D | 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
|
H A D | 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
|
H A D | nettest_bsd.h | 66 int num_cpus; /* how many CPUs had the remote? */ member in struct:tcp_stream_results_struct 117 int num_cpus; /* how many CPUs had the remote? */ member in struct:tcp_maerts_results_struct 162 int num_cpus; /* how many CPUs had the remote? */ member in struct:tcp_rr_results_struct 208 int num_cpus; /* how many CPUs had the remote? */ member in struct:tcp_conn_rr_results_struct 254 int num_cpus; /* how many CPUs had the remote? */ member in struct:tcp_tran_rr_results_struct 295 int num_cpus; /* how many CPUs had the remote? */ member in struct:udp_stream_results_struct 341 int num_cpus; /* how many CPUs had the remote? */ member in struct:udp_rr_results_struct 387 int num_cpus; /* how many CPUs had the remote? */ member in struct:tcp_cc_results_struct
|
H A D | 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
|
H A D | netlib.h | 521 int num_cpus); 525 int num_cpus);
|
H A D | netlib.c | 3181 int num_cpus) 3196 num_cpus); 3200 if (num_cpus == 0) num_cpus = lib_num_loc_cpus; 3224 (float) num_cpus; 3234 num_cpus); 3247 int num_cpus) 3257 num_cpus)); 3263 int num_cpus) 3273 num_cpus)); 3152 calc_service_demand_internal(double unit_divisor, double units_sent, float elapsed_time, float cpu_utilization, int num_cpus) argument 3219 calc_service_demand(double units_sent, float elapsed_time, float cpu_utilization, int num_cpus) argument 3235 calc_service_demand_trans(double units_sent, float elapsed_time, float cpu_utilization, int num_cpus) argument [all...] |
H A D | nettest_sdp.c | 675 sdp_stream_result->num_cpus); 1384 sdp_maerts_result->num_cpus); 1878 sdp_stream_results->num_cpus = lib_num_loc_cpus; 2248 sdp_maerts_results->num_cpus = lib_num_loc_cpus; 2810 sdp_rr_result->num_cpus); 3343 sdp_rr_results->num_cpus = lib_num_loc_cpus;
|
H A D | nettest_bsd.c | 1757 tcp_stream_result->num_cpus); 2463 tcp_maerts_result->num_cpus); 3221 tcp_stream_result->num_cpus); 4044 tcp_stream_result->num_cpus); 4543 tcp_stream_results->num_cpus = lib_num_loc_cpus; 4911 tcp_maerts_results->num_cpus = lib_num_loc_cpus; 5482 tcp_rr_result->num_cpus); 6118 udp_stream_results->num_cpus); 6592 udp_stream_results->num_cpus = lib_num_loc_cpus; 7074 udp_rr_result->num_cpus); [all...] |
H A D | nettest_sctp.c | 885 sctp_stream_result->num_cpus); 1451 sctp_stream_results->num_cpus = lib_num_loc_cpus; 2050 sctp_stream_result->num_cpus); 2576 sctp_stream_results->num_cpus = lib_num_loc_cpus; 3092 sctp_rr_result->num_cpus); 3615 sctp_rr_results->num_cpus = lib_num_loc_cpus; 4146 sctp_rr_result->num_cpus); 4668 sctp_rr_results->num_cpus = lib_num_loc_cpus;
|
/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
H A D | SDL_x11image.c | 151 static int num_cpus = 0; local 153 if(!num_cpus) { 160 ++num_cpus; 166 num_cpus = sysconf(_SC_NPROC_ONLN); 169 num_cpus = sysconf(_SC_NPROCESSORS_ONLN); 172 num_cpus = sysconf(_SC_NPROCESSORS_CONF); 174 if ( num_cpus <= 0 ) { 175 num_cpus = 1; 178 return num_cpus;
|
/external/chromium_org/third_party/tcmalloc/chromium/src/base/ |
H A D | sysinfo.cc | 345 int num_cpus = 0; local 386 num_cpus++; // count up every time we see an "processor :" entry 404 if (num_cpus > 0) { 405 cpuinfo_num_cpus = num_cpus; 473 int num_cpus = 0; local 474 size_t size = sizeof(num_cpus); 476 if (::sysctl(numcpus_name, arraysize(numcpus_name), &num_cpus, &size, 0, 0) 478 && (size == sizeof(num_cpus))) 479 cpuinfo_num_cpus = num_cpus;
|
/external/chromium_org/third_party/tcmalloc/vendor/src/base/ |
H A D | sysinfo.cc | 330 int num_cpus = 0; local 371 num_cpus++; // count up every time we see an "processor :" entry 389 if (num_cpus > 0) { 390 cpuinfo_num_cpus = num_cpus; 458 int num_cpus = 0; local 459 size_t size = sizeof(num_cpus); 461 if (::sysctl(numcpus_name, arraysize(numcpus_name), &num_cpus, &size, 0, 0) 463 && (size == sizeof(num_cpus))) 464 cpuinfo_num_cpus = num_cpus;
|
/external/chromium_org/tools/telemetry/telemetry/core/platform/power_monitor/ |
H A D | powermetrics_power_monitor.py | 160 num_cpus = len(core_dict[core_idx]['cpus']) 162 for cpu_idx in xrange(num_cpus):
|
/external/chromium_org/third_party/leveldatabase/src/doc/bench/ |
H A D | db_bench_tree_db.cc | 192 int num_cpus = 0; 203 ++num_cpus; 210 fprintf(stderr, "CPU: %d * %s\n", num_cpus, cpu_type.c_str());
|
H A D | db_bench_sqlite3.cc | 216 int num_cpus = 0; 227 ++num_cpus; 234 fprintf(stderr, "CPU: %d * %s\n", num_cpus, cpu_type.c_str());
|
/external/lldb/scripts/ |
H A D | build-llvm.pl | 268 my $num_cpus = parallel_guess(); 269 print "Building clang using $num_cpus cpus ($arch)...\n"; 275 do_command ("cd '$llvm_dstroot_arch' && make -j$num_cpus clang-only VERBOSE=1 $llvm_config_href->{make_options} NO_RUNTIME_LIBS=1 PROJECT_NAME='llvm' $extra_make_flags", "making llvm and clang", 1); 276 do_command ("cd '$llvm_dstroot_arch' && make -j$num_cpus tools-only VERBOSE=1 $llvm_config_href->{make_options} NO_RUNTIME_LIBS=1 PROJECT_NAME='llvm' $extra_make_flags EDIS_VERSION=1", "making libedis", 1);
|
/external/stressapptest/src/ |
H A D | sat.cc | 130 memory_threads_ = os_->num_cpus(); 1277 int num_cpus = CpuCount(); local 1284 kCacheLineSize, sizeof(*num) * num_cpus * cc_cacheline_count_); 1287 sizeof(*num) * num_cpus * cc_cacheline_count_)); 1294 memset(num, 0, sizeof(num_cpus) * num_cpus); 1296 num += num_cpus; 1300 for (tnum = 0; tnum < num_cpus; tnum++) {
|
H A D | os.h | 228 int num_cpus() const { return num_cpus_; } function in class:OsLayer
|