Home
last modified time | relevance | path

Searched refs:total_cpus (Results 1 – 4 of 4) sorted by relevance

/external/autotest/client/tests/kvm/tests/
Dcpu_hotplug.py30 total_cpus = current_cpus + n_cpus_add
36 for i in range(total_cpus):
44 if total_cpus_monitor != total_cpus:
46 (total_cpus_monitor, total_cpus))
62 if cpus_after_addition != total_cpus:
65 (cpus_after_addition, total_cpus))
/external/webrtc/webrtc/base/
Dlinux.cc59 int total_cpus = 0; in GetNumCpus() local
67 ++total_cpus; in GetNumCpus()
72 if (total_cpus == 0) { in GetNumCpus()
73 total_cpus = 1; in GetNumCpus()
77 total_cpus = static_cast<int>(sections_.size()); in GetNumCpus()
80 *num = total_cpus; in GetNumCpus()
/external/autotest/client/virt/
Dvirt_scheduler.py11 def __init__(self, tests, num_workers, total_cpus, total_mem, bindir): argument
23 self.total_cpus = total_cpus
173 if uc and uc + test_used_cpus > self.total_cpus:
187 if uc and uc + test_used_cpus > self.total_cpus:
/external/autotest/client/tests/kvm/
Dcontrol.parallel182 # total_cpus defaults to the number of CPUs reported by /proc/cpuinfo
183 total_cpus = utils.count_cpus()
187 num_workers = total_cpus
190 s = virt_scheduler.scheduler(tests, num_workers, total_cpus, total_mem, pwd)