/external/lisa/libs/wlgen/wlgen/ |
workload.py | 58 # The cpus on which the workload will be executed 59 self.cpus = None 127 def getCpusMask(self, cpus=None): 129 for cpu in (cpus or self.target.list_online_cpus()): 131 self._log.debug('CPUs mask for %s: 0x%X', cpus, mask) 138 cpus=None, 144 self.cpus = cpus 178 cpus=None [all...] |
rta.py | 133 cpus=[cpu]) 144 # Setting a governor & tunables for a cpu will set them for all cpus 187 def _getFirstBiggest(self, cpus): 196 # If CPUs have been specified': return the fist in the last cluster 197 if cpus: 198 for cpu_id in cpus: 205 for c in cpus: 209 # Only LITTLE CPUs, thus: 211 return cpus[0] 213 def _getFirstBig(self, cpus=None) [all...] |
/external/autotest/client/tests/monotonic_time/src/ |
time_test.c | 38 { "cpus", required_argument, 0, 'c' }, 55 "check time sources for monotonicity across multiple CPUs\n" 56 " -c,--cpus set of cpus to test (default: all)\n" 231 int run_test(cpu_set_t *cpus, long duration, struct test_info *test) 256 ncpus = count_cpus(cpus); 257 nthreads = create_per_cpu_threads(cpus, test_loop, test); 269 INFO("running %s test on %d cpus for %ld seconds", 272 INFO("running %s test on %d cpus", test->name, ncpus); 309 cpu_set_t cpus; local [all...] |
/device/linaro/bootloader/arm-trusted-firmware/plat/fvp/ |
platform.mk | 61 lib/cpus/aarch64/aem_generic.S \ 62 lib/cpus/aarch64/cortex_a53.S \ 63 lib/cpus/aarch64/cortex_a57.S \ 80 lib/cpus/aarch64/aem_generic.S \ 81 lib/cpus/aarch64/cortex_a53.S \ 82 lib/cpus/aarch64/cortex_a57.S \
|
/device/linaro/bootloader/arm-trusted-firmware/plat/juno/ |
platform.mk | 60 lib/cpus/aarch64/cortex_a53.S \ 61 lib/cpus/aarch64/cortex_a57.S \ 82 lib/cpus/aarch64/cortex_a53.S \ 83 lib/cpus/aarch64/cortex_a57.S \
|
/external/ltp/testcases/kernel/controllers/cpuset/ |
cpuset_funcs.sh | 69 tst_brkm TCONF "The total of CPUs is less than $1" 103 # $1 - required number of cpus (default 2) 174 # cpuset_set <cpusetpath> <cpus> <mems> <load_balance> 183 local cpus="$2" 188 if [ "$cpus" != "-" ]; then 189 /bin/echo $cpus > $path/cpus
|
/external/ltp/testcases/open_posix_testsuite/functional/threads/pi_test/ |
pitest-1.c | 10 * one. TFs are used to keep busy these CPUs, which have priority 3. A 49 int cpus; variable 177 DPRINTF(stdout, "# COLUMNS %d Time TL TP ", 2 + cpus); 178 for (i = 0; i < (cpus - 1); i++) 186 for (i = 0; i < cpus + 1; i++) 233 cpus = sysconf(_SC_NPROCESSORS_ONLN); 236 pthread_t threads[cpus - 1], threadsample, threadtp, threadtl, threadtb; 261 DPRINTF(stderr, "Main Thread: start %d TF thread\n", cpus - 1); 262 for (i = 0; i < cpus - 1; i++) { 315 for (i = 2; i < cpus - 1; i++) [all...] |
pitest-4.c | 11 * one. TFs are used to keep busy these CPUs, which have priority 4. A 52 int cpus; variable 154 DPRINTF(stdout, "# COLUMNS %d Time TL TP ", 2 + cpus); 155 for (i = 0; i < (cpus - 1); i++) 163 for (i = 0; i < cpus + 1; i++) 239 cpus = sysconf(_SC_NPROCESSORS_ONLN); 242 pthread_t threads[cpus - 1]; 269 DPRINTF(stderr, "Main Thread: Creating %d TF threads\n", cpus - 1); 270 for (i = 0; i < cpus - 1; i++) { 326 for (i = 2; i < cpus - 1; i++) [all...] |
pitest-5.c | 11 * one. TFs are used to keep busy these CPUs, which have priority 3. A 50 int cpus; variable 194 DPRINTF(stdout, "# COLUMNS %d Time TL TP ", 2 + cpus); 196 for (i = 0; i < (cpus - 1); i++) 206 for (i = 0; i < cpus + 1; i++) 257 cpus = sysconf(_SC_NPROCESSORS_ONLN); 260 pthread_t threads[cpus - 1], threadsample, threadtp, threadtl, threadtb; 283 DPRINTF(stderr, "Main Thread: Creating %d TF threads\n", cpus - 1); 284 for (i = 0; i < cpus - 1; i++) { 333 for (i = 2; i < cpus - 1; i++) [all...] |
pitest-6.c | 11 * one. TFs are used to keep busy these CPUs, which have priority 3. A 49 int cpus; variable 176 DPRINTF(stdout, "# COLUMNS %d Time TP TL ", 2 + cpus); 177 for (i = 0; i < (cpus - 1); i++) 186 for (i = 0; i < cpus + 1; i++) 232 cpus = sysconf(_SC_NPROCESSORS_ONLN); 235 pthread_t threads[cpus - 1], threadsample, threadtp, threadtl, threadtb; 260 DPRINTF(stderr, "Main Thread: Creating %d TF threads\n", cpus - 1); 261 for (i = 0; i < cpus - 1; i++) { 316 for (i = 2; i < cpus - 1; i++) [all...] |
pitest-2.c | 11 * one. TFs are used to keep busy these CPUs, which have priority 3. A 51 int cpus; variable 177 DPRINTF(stdout, "# COLUMNS %d Time TL TP1 TP2 ", 3 + cpus); 178 for (i = 0; i < (cpus - 1); i++) 186 for (i = 0; i < cpus + 2; i++) 258 cpus = sysconf(_SC_NPROCESSORS_ONLN); 261 pthread_t threads[cpus - 1]; 287 DPRINTF(stderr, "Main Thread: Creating %d TF threads \n", cpus - 1); 288 for (i = 0; i < cpus - 1; i++) { 349 for (i = 2; i < cpus - 1; i++) [all...] |
pitest-3.c | 11 * one. TFs are used to keep busy these CPUs, which have priority 3. A 51 int cpus; variable 186 DPRINTF(stdout, "# COLUMNS %d Time TL TP1 TP2 ", 3 + cpus); 188 for (i = 0; i < (cpus - 1); i++) 197 for (i = 0; i < cpus + 2; i++) 269 cpus = sysconf(_SC_NPROCESSORS_ONLN); 272 pthread_t threads[cpus - 1]; 299 DPRINTF(stderr, "Main Thread: Creating %d TF threads\n", cpus - 1); 300 for (i = 0; i < cpus - 1; i++) { 361 for (i = 2; i < cpus - 1; i++) [all...] |
/external/lisa/libs/utils/ |
energy_model.py | 91 self.cpus = (cpu,) 96 self.cpus = tuple(sorted(set().union(*[n.cpus for n in children]))) 112 return '{}({}cpus={})'.format( 113 self.__class__.__name__, name_bit, self.cpus) 146 :type cpus: tuple(int) 151 :ivar cpus: CPUs contained in this node. Includes those of child nodes. 217 require a set of CPUs to all be idle before that state can be entered. In 218 that case those CPUs can be grouped into a power domain, and that composit [all...] |
report.py | 144 for cpus in ['LITTLE', 'big', 'Total']: 145 res_base = _results[tid][base_idx]['energy'][cpus]['avg'] 181 for cpus in ['LITTLE', 'big', 'Total']: 182 res_base = _results[tid][base_idx]['energy'][cpus]['avg'] 183 res_test = _results[tid][test_idx]['energy'][cpus]['avg'] 305 for cpus in ['LITTLE', 'big', 'Total']: 309 base_max = _results[tid][base_idx]['energy'][cpus]['max'] 310 test_max = _results[tid][test_idx]['energy'][cpus]['max'] 316 res_base = _results[tid][base_idx]['energy'][cpus]['avg'] 317 res_test = _results[tid][test_idx]['energy'][cpus]['avg' [all...] |
executor.py | 106 cpufreq governor to set (for all CPUs) before execution. The 114 those CPUs. It is not necessary to provide a frequency for every 115 CPU - the frequency for unspecified CPUs is not affected. Note 117 other CPUs sharing a clock domain. 147 restricts constituent tasks to CPUs 1 and 2: 154 "/big" : {"cpus" : "1-2"}, 359 self._log.info('Configuring all CPUs to use [%s] cpufreq governor', 477 if not 'cpus' in wlspec['conf']: 479 cpus = wlspec['conf']['cpus'] [all...] |
/external/linux-kselftest/tools/testing/selftests/net/ |
reuseport_bpf_cpu.c | 232 int *rcv_fd, cpus; local 234 cpus = sysconf(_SC_NPROCESSORS_ONLN); 235 if (cpus <= 0) 236 error(1, errno, "failed counting cpus"); 238 rcv_fd = calloc(cpus, sizeof(int)); 243 test(rcv_fd, cpus, AF_INET, SOCK_DGRAM); 246 test(rcv_fd, cpus, AF_INET6, SOCK_DGRAM); 249 test(rcv_fd, cpus, AF_INET, SOCK_STREAM); 252 test(rcv_fd, cpus, AF_INET6, SOCK_STREAM);
|
/prebuilts/go/darwin-x86/test/bench/garbage/ |
tree2.go | 25 cpus = flag.Int("cpus", 1, "number of cpus to use") 75 runtime.GOMAXPROCS(*cpus) 24 cpus = flag.Int("cpus", 1, "number of cpus to use") var
|
/prebuilts/go/linux-x86/test/bench/garbage/ |
tree2.go | 25 cpus = flag.Int("cpus", 1, "number of cpus to use") 75 runtime.GOMAXPROCS(*cpus) 24 cpus = flag.Int("cpus", 1, "number of cpus to use") var
|
/build/soong/ui/tracer/ |
ninja.go | 37 cpus := []uint64{} 40 for cpu, endTime := range cpus { 43 cpus[cpu] = entry.End 48 tid = len(cpus) 49 cpus = append(cpus, entry.End)
|
/external/autotest/client/site_tests/power_HotCPUSuspend/ |
power_HotCPUSuspend.py | 70 # create processs pool with enough workers to spin all CPUs 71 cpus = multiprocessing.cpu_count() 72 logging.info('found %d cpus', cpus) 73 workers = max(16, cpus * 2) 77 # fill all CPUs with a spinning task
|
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/ |
libcpuset.c | 70 struct bitmask *cpus; member in struct:cpuset 182 * Arch-neutral API for obtaining NUMA distances between CPUs 204 * NUMA distances between CPUs and Memory Nodes is via the file 623 if ((cp->cpus = bitmask_alloc(nbits)) == NULL) 632 if (cp && cp->cpus) 633 bitmask_free(cp->cpus); 645 if (cp->cpus) 646 bitmask_free(cp->cpus); 668 /* Set CPUs in cpuset cp to bitmask cpus */ 1446 struct bitmask *cpus = NULL, *mems = NULL; local 1585 struct bitmask *cpus = NULL, *mems = NULL; local 1715 struct bitmask *cpus = NULL, *mems = NULL; local 3109 struct bitmask *cpus; member in struct:cpuset_placement 3738 struct bitmask *cpus = NULL, *mems = NULL; local [all...] |
cpuset.h | 26 * cpusets - basic routines (use cpuset relative numbering of CPUs) 31 * cpuset_size() - How many CPUs are in current tasks cpuset? 37 * cpusets - sets of CPUs and Memory Nodes - advanced routines (use system 38 * wide numbering of CPUs and Memory Nodes, except as noted) 49 * ==== Lengths of CPUs and Memory Nodes bitmasks - use to alloc them ==== 56 * cpuset_setcpus(cp, cpus) - Set CPUs in cpuset cp to bitmask cpus 63 * cpuset_getcpus(cp, cpus) - Write CPUs in cpuset cp to bitmask cpu [all...] |
/external/autotest/client/site_tests/hardware_SAT/ |
hardware_SAT.py | 81 cpus = max(utils.count_cpus(), 1) 100 args += ' -m %d' % cpus # memory copy threads. 101 # SSE copy and checksum increases the rate at which the CPUs
|
/prebuilts/go/darwin-x86/src/runtime/ |
cputicks.go | 15 // noticed drift between cpus on certain os/arch combinations. See issue 8976.
|
/prebuilts/go/linux-x86/src/runtime/ |
cputicks.go | 15 // noticed drift between cpus on certain os/arch combinations. See issue 8976.
|