Searched defs:num_cpus (Results 1 - 16 of 16) sorted by relevance

/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
/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
/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/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/netperf/
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_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_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 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_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_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 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...]
/external/stressapptest/src/
H A Dos.h228 int num_cpus() const { return num_cpus_; } function in class:OsLayer
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++) {
/external/chromium_org/third_party/leveldatabase/src/db/
H A Ddb_bench.cc364 int num_cpus = 0; local
375 ++num_cpus;
382 fprintf(stderr, "CPU: %d * %s\n", num_cpus, cpu_type.c_str());
/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;

Completed in 256 milliseconds