Home
last modified time | relevance | path

Searched refs:cpu_cores (Results 1 – 7 of 7) sorted by relevance

/external/ltp/testcases/kernel/power_management/
Dpm_include.sh90 cpu_cores=`grep "cpu cores" /proc/cpuinfo | uniq | cut -f2 -d':'`
91 [ $siblings -gt $cpu_cores ]; echo $?
134 cpu_cores=`grep "cpu cores" /proc/cpuinfo | uniq | cut -f2 -d':'`
135 if [ $siblings -eq $cpu_cores ]; then
136 [ $cpu_cores -gt 1 ]; echo $?
138 : $(( num_of_cpus = siblings / cpu_cores ))
145 cpu_cores=`grep "cpu cores" /proc/cpuinfo | uniq \
147 if [ $siblings -eq $cpu_cores ]; then
148 [ $cpu_cores -eq 2 ]; echo $?
150 : $(( num_of_cpus = siblings / cpu_cores ))
/external/ltp/testcases/kernel/sched/hyperthreading/ht_enabled/
Dsmt_smp_enabled.sh63 cpu_cores=`cat /proc/cpuinfo | grep "cpu cores" | cut -f 2 -d ':'\
66 if [ $cpu_cores -eq 1 ];then
68 elif [ $cpu_cores -ge 2 ];then
/external/autotest/client/site_tests/crosvm_Sanity/
Dcrosvm_Sanity.py27 self.cpu_cores = 8
69 if self.cpu_cores != utils.count_cpus():
71 self.cpu_cores, utils.count_cpus())
/external/grpc-grpc/src/ruby/qps/
Dworker.rb35 def cpu_cores method in WorkerServiceImpl
49 q.push(gtss.new(stats: bms.mark(req.mark.reset), cores: cpu_cores))
77 Grpc::Testing::CoreResponse.new(cores: cpu_cores)
Dproxy-worker.rb107 def cpu_cores method in ProxyWorkerServiceImpl
132 Grpc::Testing::CoreResponse.new(cores: cpu_cores)
/external/ltp/testcases/kernel/sched/hyperthreading/ht_affinity/
Dsmt_smp_affinity.sh67 cpu_cores=`cat /proc/cpuinfo | grep "cpu cores" | cut -f 2 -d ':'\
70 if [ $cpu_cores -ge 1 ];then
/external/ltp/testcases/kernel/power_management/lib/
Dpm_sched_mc.py89 cpu_cores = line.split(":")
91 if int( siblings[1] ) / int( cpu_cores[1] )> 1:
110 cpu_cores = line.split(":")
113 if int( siblings[1] ) == int( cpu_cores[1] ):
114 if int( cpu_cores[1] ) > 1:
119 num_of_cpus = int(siblings[1]) / int(cpu_cores[1])
141 cpu_cores = line.split(":")
143 return( int( siblings[1] ) / int( cpu_cores[1] ) )