Home
last modified time | relevance | path

Searched refs:cpu (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/libs/hwui/tests/scripts/
Dprep_buller.sh4 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 …]
Dprep_taieye.sh2 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 …]
Dprep_fugu.sh3 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))
Dprep_marlfish.sh3 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))
Dprep_volantis.sh30 echo "set cpu $cpu to $S hz";
/frameworks/base/core/proto/android/os/
Dcpuinfo.proto26 * '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
Dcpufreq.proto24 // 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
Dincident.proto160 (section).args = "top -b -n 1 -H -s 6 -o pid,tid,user,pr,ni,%cpu,s,virt,res,pcy,cmd,name"
166 (section).args = "/sys/devices/system/cpu/cpufreq/all_time_in_state"
Dbatterystats.proto567 // CPU time broken down by CPU frequency (go/cpu-battery-metrics).
605 optional Cpu cpu = 7; field
/frameworks/base/tests/JankBench/app/src/main/jni/
DWorkerPool.cpp158 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/
Dget-freq40 cores=`adb shell ls /sys/devices/system/cpu/ | grep cpu[0-9].* | tr -d '\r'`
Dset-cpu-freq46 cores=`adb shell ls /sys/devices/system/cpu/ | grep cpu[0-9].* | tr -d '\r'`
/frameworks/rs/cpu_ref/
DrsCpuCore.cpp53 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/
Dschd-dbg.cpp135 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/
DREADME12 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/
Dcpuinfo.txt7 400%cpu 17%user 0%nice 43%sys 338%idle 0%iow 0%irq 1%sirq 0%host
Dsystem_properties.txt14 [ro.product.cpu.abilist]: [arm64-v8a,armeabi-v7a,armeabi]
/frameworks/ml/nn/runtime/
DExecutionPlan.cpp807 const bool cpu = (size_t(bestDeviceIndex) == deviceCount - 1); in partitionTheWork() local
810 << (cpu ? "CPU" : devices[bestDeviceIndex]->getName()); in partitionTheWork()
811 plan->becomeSingleStep(cpu ? nullptr : devices[bestDeviceIndex], this); in partitionTheWork()
/frameworks/base/core/proto/android/service/
Dprocstats.proto97 optional int32 cpu = 1; field
/frameworks/base/services/core/java/com/android/server/am/
DEventLogTags.logtags6 2721 cpu (total|1|6),(user|1|6),(system|1|6),(iowait|1|6),(irq|1|6),(softirq|1|6)
/frameworks/compile/mclinker/unittests/
Dtest3.txt252 …UPPORT_DIRS= bfd gas include libiberty opcodes ld elfcpp gold gprof intl setup.com makefile.vms cpu
/frameworks/compile/mclinker/tools/mcld/
DOptions.td480 HelpText<"Set a specific cpu type">;
/frameworks/base/core/proto/android/server/
Dactivitymanagerservice.proto920 optional float ultilization = 3; // ratio of cpu time usage
/frameworks/base/cmds/statsd/src/
Datoms.proto1750 * Pulls the time the cpu spend on the frequency index. Frequency index
1752 * increasing since boot. However, if there is a cpu