Home
last modified time | relevance | path

Searched refs:cores (Results 1 – 25 of 173) sorted by relevance

1234567

/external/swiftshader/src/Common/
DCPUID.cpp39 int CPUID::cores = detectCoreCount(); member in sw::CPUID
232 int cores = 0; in detectCoreCount() local
244 cores++; in detectCoreCount()
250 cores = sysconf(_SC_NPROCESSORS_ONLN); in detectCoreCount()
253 if(cores < 1) cores = 1; in detectCoreCount()
254 if(cores > 16) cores = 16; in detectCoreCount()
256 return cores; // FIXME: Number of physical cores in detectCoreCount()
261 int cores = 0; in detectAffinity() local
273 cores++; in detectAffinity()
282 if(cores < 1) cores = 1; in detectAffinity()
[all …]
DCPUID.hpp61 static int cores; member in sw::CPUID
128 return cores; in coreCount()
/external/swiftshader/src/System/
DCPUID.cpp39 int CPUID::cores = detectCoreCount(); member in sw::CPUID
232 int cores = 0; in detectCoreCount() local
244 cores++; in detectCoreCount()
250 cores = sysconf(_SC_NPROCESSORS_ONLN); in detectCoreCount()
253 if(cores < 1) cores = 1; in detectCoreCount()
254 if(cores > 16) cores = 16; in detectCoreCount()
256 return cores; // FIXME: Number of physical cores in detectCoreCount()
261 int cores = 0; in detectAffinity() local
273 cores++; in detectAffinity()
282 if(cores < 1) cores = 1; in detectAffinity()
[all …]
DCPUID.hpp61 static int cores; member in sw::CPUID
128 return cores; in coreCount()
/external/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
Dmp.c77 u32 cores, cpu_up_mask = 1; in fsl_layerscape_wake_seconday_cores() local
88 cores = cpu_mask(); in fsl_layerscape_wake_seconday_cores()
108 rst->brrl = cores; in fsl_layerscape_wake_seconday_cores()
140 gur_out32(&gur->brrl, cores); in fsl_layerscape_wake_seconday_cores()
144 scfg_out32(&scfg->corebcr, cores); in fsl_layerscape_wake_seconday_cores()
162 if (hweight32(cpu_up_mask) == hweight32(cores)) in fsl_layerscape_wake_seconday_cores()
168 cores, cpu_up_mask); in fsl_layerscape_wake_seconday_cores()
171 printf("All (%d) cores are up.\n", hweight32(cores)); in fsl_layerscape_wake_seconday_cores()
210 u32 cores = cpu_pos_mask(); in core_to_pos() local
215 } else if (nr >= hweight32(cores)) { in core_to_pos()
/external/grpc-grpc/src/cpp/server/
Dcreate_default_thread_pool.cc29 int cores = gpr_cpu_num_cores(); in CreateDefaultThreadPoolImpl() local
30 if (!cores) cores = 4; in CreateDefaultThreadPoolImpl()
31 return new DynamicThreadPool(cores); in CreateDefaultThreadPoolImpl()
/external/vulkan-validation-layers/build-android/
Dupdate_external_sources_android.sh26 cores="$(nproc || echo 4)"
28 cores=$(sysctl -n hw.ncpu)
84 …TION_MK=../../../jni/shaderc/Application.mk THIRD_PARTY_PATH=../third_party APP_ABI=$abi -j $cores;
86 …d NDK_APPLICATION_MK=../../../jni/shaderc/Application.mk THIRD_PARTY_PATH=../third_party -j $cores;
Dbuild_all.sh28 cores=$(nproc) || echo 4
30 cores=$(sysctl -n hw.ncpu) || echo 4
64 ndk-build -j $cores
/external/grpc-grpc/src/python/grpcio_tests/tests/qps/
Dworker_server.py44 cores = multiprocessing.cpu_count()
47 yield self._get_server_status(start_time, start_time, port, cores)
51 status = self._get_server_status(start_time, end_time, port, cores)
57 def _get_server_status(self, start_time, end_time, port, cores): argument
64 return control_pb2.ServerStatus(stats=stats, port=port, cores=cores)
180 return control_pb2.CoreResponse(cores=multiprocessing.cpu_count())
/external/toolchain-utils/automation/common/
Dmachine.py11 def __init__(self, hostname, label, cpu, cores, os, username): argument
15 self.cores = cores
45 self.label, 'CPU: %s' % self.cpu, 'Cores: %d' % self.cores, 'OS: %s' %
/external/u-boot/doc/
DREADME.Heterogeneous-SoCs5 configuration and frequencies of all PowerPC cores and devices
7 SC3900/DSP cores and such devices like CPRI, MAPLE, MAPLE-ULB etc.
19 Code added in this file to print the DSP cores and other device's(CPRI,
25 required cores and devices from RCW and System frequency
29 Added API to get the number of SC cores in running system and Their BIT
44 Global structure updated for dsp cores and other components
73 DSP cores and other device's components have been added in this structure.
DREADME.mpc85xx-spin-table6 __secondary_start_page. For other cores to use the spin table, the booting
12 page translation for secondary cores to use this page of memory. Then 4KB
17 that secondary cores can see it.
19 When secondary cores boot up from 0xffff_f000 page, they only have one default
22 with WIMGE =0b00100. Now secondary cores can keep polling the spin table
DREADME.srio-pcie-boot-corenet22 the boot location to SRIO or PCIE, and holdoff all the cores.
37 1. Slave's RCW example for boot from SRIO port 1 and all cores in holdoff.
44 2. Slave's RCW example for boot from PCIE port 1 and all cores in holdoff.
70 h) Since all cores of slave in holdoff, slave should be powered on before
85 1. Slave's RCW with SRIO or PCIE boot configurations, and all cores in holdoff
/external/grpc-grpc/src/php/tests/qps/generated_code/Grpc/Testing/
DCoreResponse.php21 private $cores = 0; variable in Grpc\\Testing\\CoreResponse
36 return $this->cores;
49 $this->cores = $var;
DServerStatus.php31 private $cores = 0; variable in Grpc\\Testing\\ServerStatus
94 return $this->cores;
107 $this->cores = $var;
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dthreads.cpp60 std::vector<Core> cores; member
149 numaNode.cores.push_back(Core()); in CalculateProcessorTopology()
150 pCore = &numaNode.cores.back(); in CalculateProcessorTopology()
203 if (coreId + 1 > numaNode.cores.size()) in CalculateProcessorTopology()
204 numaNode.cores.resize(coreId + 1); in CalculateProcessorTopology()
205 auto& core = numaNode.cores[coreId]; in CalculateProcessorTopology()
214 for (auto &core : node.cores) in CalculateProcessorTopology()
232 for (auto core_it = node_it->cores.begin(); core_it != node_it->cores.end(); ) in CalculateProcessorTopology()
236 core_it = node_it->cores.erase(core_it); in CalculateProcessorTopology()
245 if (node_it->cores.size() == 0) in CalculateProcessorTopology()
[all …]
/external/grpc-grpc-java/benchmarks/src/main/proto/grpc/testing/
Dcontrol.proto98 // Specify the cores we should run the client on, if desired
133 // Specify the number of cores to limit server to, if desired
141 // Specify the cores we should run the server on, if desired
164 // Number of cores available to the server
165 int32 cores = 3; field
172 // Number of cores available on the server
173 int32 cores = 1; field
250 // Number of cores available to each server
/external/grpc-grpc/src/proto/grpc/testing/
Dcontrol.proto97 // Specify the cores we should run the client on, if desired
142 // Specify the number of cores to limit server to, if desired
150 // Specify the cores we should run the server on, if desired
177 // Number of cores available to the server
178 int32 cores = 3; field
185 // Number of cores available on the server
186 int32 cores = 1; field
267 // Number of cores available to each server
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_TPUOrdinalSelector.pbtxt7 A vector 1 or more TPU cores.
12 This Op produces a set of TPU cores (for warm-up) or a single TPU core
/external/webrtc/webrtc/base/
Dlinux.cc101 int cores; in GetNumPhysicalCpus() local
104 GetSectionIntValue(i, "cpu cores", &cores) && in GetNumPhysicalCpus()
107 total_cores += cores; in GetNumPhysicalCpus()
/external/tensorflow/tensorflow/core/protobuf/tpu/
Dtopology.proto9 // The dimensions of the TPU topology, in cores. Typically, this is a 3D
11 // and the minor dimension describes the number of cores on a multicore chip.
/external/grpc-grpc/src/ruby/qps/
Dworker.rb49 q.push(gtss.new(stats: bms.mark(req.mark.reset), cores: cpu_cores))
77 Grpc::Testing::CoreResponse.new(cores: cpu_cores)
/external/toolchain-utils/automation/server/
Dmachine_manager.py25 return cls([machine.Machine(hostname, label, cpu, int(cores), os, user)
26 for hostname, label, cpu, cores, os, user in csv_file])
/external/stressapptest/src/
Dsat.cc1230 int cores = cpuset_count(&available_cpus); in InitializeThreads() local
1233 if (cpu_stress_threads_ + memory_threads_ <= cores) { in InitializeThreads()
1237 int nthbit = (((2 * nthcore) % cores) + in InitializeThreads()
1238 (((2 * nthcore) / cores) % 2)) % cores; in InitializeThreads()
1240 cpuset_set_ab(&all_cores, 0, cores); in InitializeThreads()
1372 int cores = cpuset_count(&available_cpus); in InitializeThreads() local
1373 if (cpu_stress_threads_ + memory_threads_ <= cores) { in InitializeThreads()
1377 int nthcore = (cores - 1) - i; in InitializeThreads()
1378 int nthbit = (((2 * nthcore) % cores) + in InitializeThreads()
1379 (((2 * nthcore) / cores) % 2)) % cores; in InitializeThreads()
[all …]
/external/python/cpython2/Parser/
Dspark.py131 self.edges, self.cores = {}, {}
311 self.edges, self.cores = {}, {}
367 if self.cores.has_key(tcore):
368 return self.cores[tcore]
373 k = self.cores[tcore] = len(self.states)
424 if self.cores.has_key(tcore):
425 self.edges[(k, None)] = self.cores[tcore]
428 nk = self.cores[tcore] = self.edges[(k, None)] = NK.stateno

1234567