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

12

/external/fio/os/
H A Dos-solaris.h110 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 Dradeon_drm_winsys.h55 uint32_t num_cpus; /* Number of CPUs. */ member in struct:radeon_drm_winsys
H A Dradeon_drm_winsys.c259 ws->num_cpus = sysconf(_SC_NPROCESSORS_ONLN);
/external/mesa3d/src/gallium/winsys/radeon/drm/
H A Dradeon_drm_winsys.h55 uint32_t num_cpus; /* Number of CPUs. */ member in struct:radeon_drm_winsys
H A Dradeon_drm_winsys.c259 ws->num_cpus = sysconf(_SC_NPROCESSORS_ONLN);
/external/netperf/
H A Dnettest_dlpi.h60 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 Dnettest_unix.h56 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 Dnettest_sdp.h63 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 Dnettest_xti.h56 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 Dnettest_bsd.h66 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 Dnettest_sctp.h58 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 Dnetlib.h521 int num_cpus);
525 int num_cpus);
H A Dnetlib.c3181 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 Dnettest_sdp.c675 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 Dnettest_bsd.c1757 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 Dnettest_sctp.c885 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 DSDL_x11image.c151 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 Dsysinfo.cc345 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 Dsysinfo.cc330 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 Dpowermetrics_power_monitor.py160 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 Ddb_bench_tree_db.cc192 int num_cpus = 0;
203 ++num_cpus;
210 fprintf(stderr, "CPU: %d * %s\n", num_cpus, cpu_type.c_str());
H A Ddb_bench_sqlite3.cc216 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 Dbuild-llvm.pl268 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 Dsat.cc130 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 Dos.h228 int num_cpus() const { return num_cpus_; } function in class:OsLayer

Completed in 641 milliseconds

12