/external/autotest/client/site_tests/power_CPUFreq/ |
power_CPUFreq.py | 82 cpus = [cpufreq(dir) for dir in dirs] 83 cpu0 = cpus[0] 85 # Use the first CPU's frequencies for all CPUs. Assume that they are 91 for cpu in cpus: 104 for cpu in cpus: 106 for cpu in cpus: 111 for cpu in cpus:
|
/external/linux-kselftest/tools/testing/selftests/rcutorture/bin/ |
kvm.sh | 49 cpus=0 61 echo " --cpus N" 99 --cpus) 100 checkarg --cpus "(number)" "$#" "$2" '^[0-9]*$' '^--' 101 cpus=$2 190 # Create a file of test-name/#cpus pairs, sorted by decreasing #cpus. 220 awk < $T/cfgcpu.sort > $T/cfgcpu.pack -v ncpus=$cpus ' 226 # Read file of tests and corresponding required numbers of CPUs. 228 cpus[njobs] = $2 [all...] |
/external/ltp/utils/benchmark/kernbench-0.42/ |
kernbench | 92 cpus=`grep -c ^processor /proc/cpuinfo` 93 echo $cpus cpus found 116 halfjobs=$(( $cpus / 2 )) 117 optijobs=${optijobs:=$(( $cpus * 4 ))}
|
/external/devlib/devlib/module/ |
cpufreq.py | 334 def set_governor_for_cpus(self, cpus, governor, **kwargs): 336 Set the governor for the specified list of CPUs. 339 :param cpus: The list of CPU for which the governor is to be set. 341 for cpu in cpus: 344 def set_frequency_for_cpus(self, cpus, freq, exact=False): 346 Set the frequency for the specified list of CPUs. 349 :param cpus: The list of CPU for which the frequency has to be set. 351 for cpu in cpus: 356 Set the specified (minimum) frequency for all the (online) CPUs 364 Get the current frequency for all the (online) CPUs [all...] |
/external/lisa/libs/wlgen/wlgen/ |
perf_bench.py | 52 cpus=None, 68 duration=0, cpus=cpus, exc_id=exc_id, run_dir=run_dir) 141 cpus=None, 147 0, cpus, cgroup, exc_id)
|
/external/libmojo/third_party/catapult/devil/devil/android/perf/ |
perf_control.py | 24 assert self._cpu_files, 'Failed to detect CPUs.' 26 logging.info('CPUs found: %s', self._cpu_file_list) 46 logging.warning('Failed to force CPUs online. Results may be NOISY!') 51 logging.warning('Failed to force CPUs online. Results may be NOISY!') 64 raise RuntimeError('Need root to force CPUs online.') 65 raise RuntimeError('Failed to force CPUs online.') 112 cpus = ' '.join(cpu for (cpu, _, status) in results if status == 0) 113 if cpus: 114 logging.info('Successfully set %s to %r on: %s', path, value, cpus) 116 logging.warning('Failed to set %s to %r on any cpus', path, value [all...] |
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_inherit_test/ |
cpuset_inherit_testset.sh | 105 cfile_name="cpus" 106 while read cpus result 108 inherit_test "$CPUSET/1/cpus" "$cpus" "$result" 114 # while read cpus result
|
/external/lisa/libs/utils/analysis/ |
frequency_analysis.py | 184 self._log.warning('NO big CPUs frequency events to plot') 204 self._log.warning('NO LITTLE CPUs frequency events to plot') 222 def plotCPUFrequencies(self, cpus=None): 224 Plot frequency for the specified CPUs (or all if not specified). 231 :param cpus: the list of CPUs to plot, if None it generate a plot 233 :type cpus: int or list(int) 242 if cpus is None: 243 # Generate plots only for available CPUs 244 cpus = range(df.cpu.max()+1 [all...] |
idle_analysis.py | 120 # idle state among the idle states of its CPUs 132 # cl_is_idle[t] == 1 if all CPUs in the cluster are reported 167 def plotCPUIdleStateResidency(self, cpus=None, pct=False): 169 Plot per-CPU idle state residency. big CPUs are plotted first and then 174 :param cpus: list of CPU IDs. By default plot all CPUs 175 :type cpus: list(int) or int 185 if cpus is None: 186 # Generate plots only for available CPUs 190 _cpus = listify(cpus) [all...] |
/device/google/wahoo/ |
init.hardware.rc | 92 write /dev/cpuset/kernel/cpus 0 98 write /dev/cpuset/system/cpus 0 104 write /dev/cpuset/system/performance/cpus 0 110 write /dev/cpuset/system/background/cpus 0 116 write /dev/cpuset/application/cpus 0 122 write /dev/cpuset/application/performance/cpus 0 128 write /dev/cpuset/application/background/cpus 0 448 write /dev/cpuset/kernel/cpus 0-7 449 write /dev/cpuset/system/cpus 0-7 450 write /dev/cpuset/system/performance/cpus 0- [all...] |
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/ |
platform.mk | 69 lib/cpus/aarch64/cortex_a53.S \ 95 lib/cpus/aarch64/cortex_a53.S \
|
/external/autotest/client/site_tests/power_CPUIdle/ |
power_CPUIdle.py | 17 all_cpus = cpus() 23 # sleep for some time to allow the CPUs to drop into idle states 58 class cpus(object): class in inherits:object
|
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_spread_test/ |
cpuset_memory_spread_testset.sh | 282 while read spread cpus nodes exp_nodes 284 base_test "$spread" "$cpus" "$nodes" "$exp_nodes" 293 # while read spread cpus nodes exp_nodes
|
/device/linaro/bootloader/arm-trusted-firmware/bl31/ |
bl31.mk | 42 lib/cpus/aarch64/cpu_helpers.S \
|
/external/linux-kselftest/tools/testing/selftests/cpufreq/ |
main.sh | 56 echo $msg cpus not available in sysfs >&2 100 # Check if CPUs are managed by cpufreq or not
|
/external/chromium-trace/catapult/devil/devil/android/perf/ |
perf_control.py | 28 assert self._cpu_files, 'Failed to detect CPUs.' 30 logger.info('CPUs found: %s', self._cpu_file_list) 56 logger.warning('Failed to force CPUs online. Results may be NOISY!') 61 logger.warning('Failed to force CPUs online. Results may be NOISY!') 74 raise RuntimeError('Need root to force CPUs online.') 75 raise RuntimeError('Failed to force CPUs online.') 126 cpus = ' '.join(cpu for (cpu, _, status) in results if status == 0) 127 if cpus: 128 logger.info('Successfully set %s to %r on: %s', path, value, cpus) 130 logger.warning('Failed to set %s to %r on any cpus', path, value [all...] |
/external/bart/bart/sched/ |
SchedAssert.py | 154 :param node: The group of CPUs for which residency 200 :param node: The group of CPUs for which residency 244 :return: The first time the task ran across all the CPUs 254 all the CPUs 600 def assertFirstCpu(self, cpus, window=None): 605 :param cpus: A list of acceptable CPUs 606 :type cpus: int, list 612 cpus = Utils.listify(cpus) [all...] |
/external/blktrace/btreplay/ |
btreplay.c | 142 static int cpus_to_use = -1; // Number of CPUs to use 145 static int ncpus = 0; // Number of CPUs in the system 505 cpu_set_t cpus; local 507 if (sched_getaffinity(getpid(), sizeof(cpus), &cpus)) { 516 for (ncpus = 0; ncpus < CPU_SETSIZE && CPU_ISSET(ncpus, &cpus); ncpus++) 519 fatal(NULL, ERR_SYSCALL, "Insufficient number of CPUs\n"); 530 cpu_set_t cpus; local 534 CPU_ZERO(&cpus); 535 CPU_SET(tip->cpu, &cpus); [all...] |
/external/trappy/trappy/ |
cpu_power.py | 46 >>> dfr_in = pd.DataFrame({'cpus': ["000000f0", 53 cpus freq 60 >>> power.pivot_with_labels(dfr_in, "freq", "cpus", map_label) 89 """Return the number of cpus in a cpumask""" 106 pivot = "cpus" 121 return pivot_with_labels(dfr, "freq", "cpus", mapping_label) / 1000 136 pivot = "cpus" 160 load_dfr = pd.DataFrame({"cpus": dfr["cpus"], "load": load_series}) 162 return pivot_with_labels(load_dfr, "load", "cpus", mapping_label [all...] |
/system/extras/simpleperf/ |
event_selection_set.cpp | 324 static bool CheckIfCpusOnline(const std::vector<int>& cpus) { 326 for (const auto& cpu : cpus) { 388 std::vector<int> cpus = on_cpus; local 389 if (!cpus.empty()) { 390 // cpus = {-1} means open an event file for all cpus. 391 if (!(cpus.size() == 1 && cpus[0] == -1) && !CheckIfCpusOnline(cpus)) { 395 cpus = GetOnlineCpus() [all...] |
/external/lisa/tests/eas/ |
capacity_capping.py | 55 The test creates as many busy threads as there are big cpus. 56 These busy threads have high load and should run in the CPUs with 59 phase, the maximum frequency of the big cpus is limited to the 61 Finally, in the third phase, the maximum frequency of the big cpus 65 This test assumes that the lowest OPPs of the big cpus have less 66 capacity than the highest OPP of the little cpus. If that is not 73 The threads have high load, so they should always run in the CPUs 75 system is unconstrained, so they should run on the big CPUs. In 77 and the little CPUs have higher capacity. Therefore, in the 79 cpus. In the third phase the maximum frequency of the big cpus i [all...] |
load_tracking.py | 68 'cpus' : [cpu] 84 [cpu] = experiment.wload.cpus 179 # Run on one of the CPUs with highest capacity 291 [cpu] = experiment.wload.cpus
|
/external/ltp/testcases/kernel/mem/lib/ |
mem.c | 694 static void gather_node_cpus(char *cpus, long nd) 720 strcat(cpus, buf); 724 cpus[strlen(cpus) - 1] = '\0'; 786 char cpus[BUFSIZ] = ""; local 791 gather_node_cpus(cpus, nd); 793 * If the 'nd' node doesn't contain any CPUs, 795 * the value of cpuset.cpus. 797 if (strlen(cpus) != 0) { 798 write_cpuset_files(CPATH_NEW, "cpus", cpus) [all...] |
/external/ltp/testcases/kernel/power_management/ |
pm_include.sh | 42 declare -a cpus 49 cpus[$cpu]=cpu${cpu} 58 echo "${cpus[$j]} -P ${cpus[$k]}" | sed -e "s/cpu//g"
|
/external/v8/tools/sanitizers/ |
sancov_merger.py | 46 # Number of cpus. 47 CPUS = cpu_count() 92 def generate_inputs(keep, coverage_dir, file_map, cpus): 105 # 2 cpus and 9 files we want bucket size 5. 106 n = max(2, int(math.ceil(len(files) / float(cpus)))) 121 pool = Pool(CPUS) 137 options.keep, options.coverage_dir, file_map, CPUS)
|