/frameworks/base/tools/powermodel/test/com/android/powermodel/ |
D | PowerProfileTest.java | 72 final CpuProfile cpu = (CpuProfile)profile.getComponent(Component.CPU); in testReadGood() local 73 Assert.assertEquals(1.3f, cpu.suspendMa, EPSILON); in testReadGood() 74 Assert.assertEquals(3.9f, cpu.idleMa, EPSILON); in testReadGood() 75 Assert.assertEquals(18.33f, cpu.activeMa, EPSILON); in testReadGood() 76 Assert.assertEquals(2, cpu.clusters.length); in testReadGood() 78 Assert.assertEquals(4, cpu.clusters[0].coreCount); in testReadGood() 79 Assert.assertEquals(2.41f, cpu.clusters[0].onMa, EPSILON); in testReadGood() 80 Assert.assertEquals(9, cpu.clusters[0].frequencies.length, EPSILON); in testReadGood() 81 Assert.assertEquals(100000, cpu.clusters[0].frequencies[0].speedHz); in testReadGood() 82 Assert.assertEquals(0.29f, cpu.clusters[0].frequencies[0].onMa, EPSILON); in testReadGood() [all …]
|
/frameworks/base/libs/hwui/tests/scripts/ |
D | prep_buller.sh | 4 cpubase=/sys/devices/system/cpu 18 cpu=0 20 while [ $((cpu < 4)) -eq 1 ]; do 21 echo "Setting cpu $cpu to $S hz" 22 adb shell "echo 1 > $cpubase/cpu${cpu}/online" 23 adb shell "echo userspace > $cpubase/cpu${cpu}/$gov" 24 adb shell "echo $S > $cpubase/cpu${cpu}/cpufreq/scaling_max_freq" 25 adb shell "echo $S > $cpubase/cpu${cpu}/cpufreq/scaling_min_freq" 26 adb shell "echo $S > $cpubase/cpu${cpu}/cpufreq/scaling_setspeed" 27 cpu=$(($cpu + 1)) [all …]
|
D | prep_taieye.sh | 2 cpubase=/sys/devices/system/cpu 10 cpu=0 13 while [ $((cpu < 4)) -eq 1 ]; do 14 echo "Setting cpu ${cpu} to $S hz" 15 adb shell "echo userspace > $cpubase/cpu${cpu}/cpufreq/scaling_governor" 16 adb shell "echo 1 > $cpubase/cpu${cpu}/online" 17 adb shell "echo $S > $cpubase/cpu${cpu}/cpufreq/scaling_max_freq" 18 adb shell "echo $S > $cpubase/cpu${cpu}/cpufreq/scaling_min_freq" 19 cpu=$(($cpu + 1)) 22 while [ $((cpu < $nr)) -eq 1 ]; do [all …]
|
D | prep_generic.sh | 70 CPU_BASE=/sys/devices/system/cpu 79 cpu=0 80 while [ -f ${CPU_BASE}/cpu${cpu}/online ]; do 82 echo 1 > ${CPU_BASE}/cpu${cpu}/online 84 maxFreq=`cat ${CPU_BASE}/cpu$cpu/cpufreq/cpuinfo_max_freq` 85 availFreq=`cat ${CPU_BASE}/cpu$cpu/cpufreq/scaling_available_frequencies` 99 enableIndices=${cpu} 101 enableIndices="$enableIndices $cpu" 103 disableIndices="$disableIndices $cpu" 105 cpu=$(($cpu + 1)) [all …]
|
D | prep_fugu.sh | 3 cpubase=/sys/devices/system/cpu 31 cpu=0 33 while [ $((cpu < 3)) -eq 1 ]; do 34 echo "Setting cpu ${cpu} & $(($cpu + 1)) cluster to $S hz" 36 adb shell "echo 1 > $cpubase/cpu${cpu}/online" &> /dev/null 37 adb shell "echo userspace > $cpubase/cpu${cpu}/$gov" 38 adb shell "echo $S > $cpubase/cpu${cpu}/cpufreq/scaling_max_freq" 39 adb shell "echo $S > $cpubase/cpu${cpu}/cpufreq/scaling_min_freq" 40 adb shell "echo $S > $cpubase/cpu${cpu}/cpufreq/scaling_setspeed" 41 cpu=$(($cpu + 2))
|
D | prep_marlfish.sh | 3 cpubase=/sys/devices/system/cpu 19 cpu=0 22 while [ $((cpu < 3)) -eq 1 ]; do 24 echo "Setting cpu ${cpu} & $(($cpu + 1)) cluster to $S hz" 25 adb shell "echo $S > $cpubase/cpu${cpu}/cpufreq/scaling_max_freq" 26 adb shell "echo $S > $cpubase/cpu${cpu}/cpufreq/scaling_min_freq" 27 cpu=$(($cpu + 2))
|
D | prep_volantis.sh | 30 echo "set cpu $cpu to $S hz";
|
/frameworks/ml/nn/tools/systrace_parser/parser/test/ |
D | large_test.sh | 19 echo parsing cpu 20 ../../parse_systrace.py cpu.html > cpu.tmp 31 echo checking cpu 32 diff cpu.txt cpu.tmp
|
D | make_golden.sh | 6 ../../parse_systrace.py cpu.html > cpu.txt
|
/frameworks/native/libs/cputimeinstate/ |
D | cputimeinstate.cpp | 180 for (auto &cpu : gPolicyCpus[i]) { in startTrackingUidTimes() local 181 if (writeToMapEntry(cpuPolicyFd, &cpu, &i, BPF_ANY)) return false; in startTrackingUidTimes() 265 for (const auto &cpu : gPolicyCpus[j]) { in getUidCpuFreqTimes() local 266 std::transform(begin, end, std::begin(vals[cpu].ar), begin, std::plus<uint64_t>()); in getUidCpuFreqTimes() 331 for (const auto &cpu : gPolicyCpus[i]) { in getUidsUpdatedCpuFreqTimes() local 332 std::transform(begin, end, std::begin(vals[cpu].ar), begin, std::plus<uint64_t>()); in getUidsUpdatedCpuFreqTimes() 374 for (uint32_t cpu = 0; cpu < gNCpus; ++cpu) { in getUidConcurrentTimes() local 375 std::transform(activeBegin, activeEnd, std::begin(vals[cpu].active), activeBegin, in getUidConcurrentTimes() 385 for (const auto &cpu : gPolicyCpus[policy]) { in getUidConcurrentTimes() local 386 std::transform(policyBegin, policyEnd, std::begin(vals[cpu].policy), policyBegin, in getUidConcurrentTimes() [all …]
|
/frameworks/base/core/proto/android/os/ |
D | cpuinfo.proto | 26 * 'top -b -n 1 -H -s 6 -o pid,tid,user,pr,ni,%cpu,s,virt,res,pcy,cmd,name' 36 optional int32 total = 1; // total number of cpu tasks 59 optional int32 cpu = 1; // 400% cpu indicates 4 cores field 77 optional string user = 3; // the process name which uses cpu 80 optional float cpu = 6; // precentage of cpu usage of the task field
|
D | cpufreq.proto | 24 // cpu frequency time from /sys/devices/system/cpu/cpufreq/all_time_in_state 30 // frequency time pre cpu, unit in jiffy. 39 optional int32 state_khz = 1; // cpu frequency
|
D | incident.proto | 168 (section).args = "top -b -n 1 -H -s 6 -o pid,tid,user,pr,ni,%cpu,s,virt,res,pcy,cmd,name" 173 (section).args = "/sys/devices/system/cpu/cpufreq/all_time_in_state"
|
/frameworks/base/tests/JankBench/app/src/main/jni/ |
D | WorkerPool.cpp | 158 int cpu = sysconf(_SC_NPROCESSORS_CONF); in init() local 160 cpu = threadCount; in init() 162 if (cpu < 1) { in init() 165 mCount = (uint32_t)cpu; in init()
|
/frameworks/rs/perf-test-scripts/ |
D | get-freq | 40 cores=`adb shell ls /sys/devices/system/cpu/ | grep cpu[0-9].* | tr -d '\r'`
|
D | set-cpu-freq | 46 cores=`adb shell ls /sys/devices/system/cpu/ | grep cpu[0-9].* | tr -d '\r'`
|
/frameworks/rs/cpu_ref/ |
D | rsCpuCore.cpp | 53 RsdCpuReferenceImpl *cpu = new RsdCpuReferenceImpl(rsc); in create() local 54 if (!cpu) { in create() 57 if (!cpu->init(version_major, version_minor, lfn, slfn)) { in create() 58 delete cpu; in create() 62 cpu->setSelectRTCallback(pSelectRTCallback); in create() 64 cpu->setBccPluginName(pBccPluginName); in create() 67 return cpu; in create() 237 int cpu = sysconf(_SC_NPROCESSORS_CONF); in init() local 239 cpu = mRSC->props.mDebugMaxThreads; in init() 241 if (cpu < 2) { in init() [all …]
|
/frameworks/native/libs/binder/tests/ |
D | schd-dbg.cpp | 135 int cpu = sched_getcpu(); in onTransact() local 137 if (cpu != cpu_caller) { in onTransact() 265 static void parcel_fill(Parcel& data, int sz, int priority, int cpu) { in parcel_fill() argument 268 data.writeInt32(cpu); in parcel_fill()
|
/frameworks/base/core/tests/BTtraffic/ |
D | README | 12 system to calculate the cpu usage. The measurement is updated once per second. 14 independent service to measure cpu usage on any similarly configured tests (e.g. wifi, BLE). Refer
|
/frameworks/base/cmds/incident_helper/testdata/ |
D | cpuinfo.txt | 7 400%cpu 17%user 0%nice 43%sys 338%idle 0%iow 0%irq 1%sirq 0%host
|
D | system_properties.txt | 14 [ro.product.cpu.abilist]: [arm64-v8a,armeabi-v7a,armeabi]
|
/frameworks/ml/nn/tools/ |
D | build_and_run_benchmark.sh | 70 LOGFILE=$LOGDIR/perf-cpu.txt
|
/frameworks/base/core/proto/android/service/ |
D | procstats.proto | 153 optional int32 cpu = 1; field
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | EventLogTags.logtags | 6 2721 cpu (total|1|6),(user|1|6),(system|1|6),(iowait|1|6),(irq|1|6),(softirq|1|6)
|
/frameworks/compile/mclinker/unittests/ |
D | test3.txt | 252 …UPPORT_DIRS= bfd gas include libiberty opcodes ld elfcpp gold gprof intl setup.com makefile.vms cpu
|