Home
last modified time | relevance | path

Searched refs:cores (Results 1 - 10 of 10) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/src/System/
H A DCPUID.cpp101 int cores = 0; in coreCount() local
113 cores++; in coreCount()
119 cores = sysconf(_SC_NPROCESSORS_ONLN); in coreCount()
122 if(cores < 1) cores = 1; in coreCount()
123 if(cores > 16) cores = 16; in coreCount()
125 return cores; // FIXME: Number of physical cores in coreCount()
130 int cores in processAffinity() local
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Common/
H A 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; detectAffinity() local
[all...]
H A DCPUID.hpp61 static int cores; member in sw::CPUID
128 return cores; in coreCount()
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/
H A Dthread.cpp118 Thread::Affinity::Affinity(Allocator* allocator) : cores(allocator) {} in Affinity()
119 Thread::Affinity::Affinity(Affinity&& other) : cores(std::move(other.cores)) {} in Affinity()
121 : cores(other.cores, allocator) {} in Affinity()
125 : cores(allocator) { in Affinity()
126 cores.reserve(list.size()); in Affinity()
128 cores.push_back(core); in Affinity()
145 affinity.cores.emplace_back(std::move(core)); in all()
158 affinity.cores in all()
[all...]
/third_party/node/deps/npm/node_modules/is-core-module/test/
H A Dindex.js28 var cores = keys(data);
29 st.plan(cores.length);
31 for (var i = 0; i < cores.length; ++i) {
32 var mod = cores[i];
/third_party/python/Tools/freeze/test/
H A Dfreeze.py166 cores = os.cpu_count()
167 if cores and cores >= 3:
171 parallel = f'-j{cores*2//3}'
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/
H A Dthread.h50 // Affinity holds the affinity mask for a thread - a description of what cores
69 // available cores in affinity.
73 // cores all from the same group.
97 // all() returns an Affinity with all the cores available to the process.
102 // count() returns the number of enabled cores in the affinity.
108 // add() adds the cores from the given affinity to this affinity.
112 // remove() removes the cores from the given affinity from this affinity.
119 containers::vector<Core, 32> cores; member
140 // numLogicalCPUs() returns the number of available logical CPU cores for
/third_party/ltp/testcases/kernel/power_management/lib/
H A Dpm_sched_mc.py88 if line.startswith('cpu cores'):
101 ''' Return true if system has sockets has multiple cores
109 if line.startswith('cpu cores'):
140 if line.startswith('cpu cores'):
591 if line.startswith('cpu cores'):
592 cores = line.split("cpu cores")
593 num_cores = cores[1].split(":")
619 #if CPUs used across the cores
628 # in different cores o
[all...]
/third_party/node/tools/
H A Dtest.py1387 result.add_option("-j", help="The number of parallel tasks to run, 0=use number of cores",
1450 # tends to exaggerate the number of available cpus/cores.
1451 cores = os.environ.get('JOBS')
1452 options.j = int(cores) if cores is not None else multiprocessing.cpu_count()
/third_party/ffmpeg/libavcodec/arm/
H A Dvp9mc_neon.S350 @ We only need d28[0], but [] is faster on some cores

Completed in 7 milliseconds