Home
last modified time | relevance | path

Searched refs:cpu_count (Results 1 – 25 of 33) sorted by relevance

12

/openbmc/qemu/hw/cpu/
H A Dcluster.c34 int cpu_count; member
44 cbdata->cpu_count++; in add_cpu_to_cluster()
56 .cpu_count = 0, in cpu_cluster_realize()
72 assert(cbdata.cpu_count > 0); in cpu_cluster_realize()
/openbmc/qemu/accel/tcg/
H A Dtcg-accel-ops-rr.c156 static int cpu_count; in rr_cpu_count() local
162 cpu_count = 0; in rr_cpu_count()
164 ++cpu_count; in rr_cpu_count()
169 return cpu_count; in rr_cpu_count()
226 int cpu_count = rr_cpu_count(); in rr_cpu_thread_fn() local
236 cpu_budget = icount_percpu_budget(cpu_count); in rr_cpu_thread_fn()
H A Dtcg-accel-ops-icount.c93 int64_t icount_percpu_budget(int cpu_count) in icount_percpu_budget() argument
96 int64_t timeslice = limit / cpu_count; in icount_percpu_budget()
H A Dtcg-accel-ops-icount.h15 int64_t icount_percpu_budget(int cpu_count);
/openbmc/qemu/hw/mips/
H A Dloongson3_bootp.c28 static void init_cpu_info(void *g_cpuinfo, uint32_t cpu_count, in init_cpu_info() argument
42 c->nr_cpus = cpu_to_le32(cpu_count); in init_cpu_info()
43 c->total_node = cpu_to_le32(DIV_ROUND_UP(cpu_count, in init_cpu_info()
114 uint32_t cpu_count, uint32_t processor_id, in init_loongson_params() argument
117 init_cpu_info(p, cpu_count, processor_id, cpu_freq); in init_loongson_params()
H A Dloongson3_bootp.h236 uint32_t cpu_count, uint32_t processor_id,
H A Dloongson3_virt.c176 static void init_boot_param(unsigned cpu_count, uint32_t processor_id) in init_boot_param() argument
187 init_loongson_params(&(bp->efi.smbios.lp), p, cpu_count, processor_id, in init_boot_param()
/openbmc/qemu/tests/functional/
H A Dtest_arm_integratorcp.py82 cpu_count = 1
92 self.assertGreaterEqual(tux_count, cpu_count)
/openbmc/qemu/hw/s390x/
H A Dsclp.c111 int cpu_count; in read_SCP_info() local
132 prepare_cpu_entries(machine, entries_start, &cpu_count); in read_SCP_info()
133 read_info->entries_cpu = cpu_to_be16(cpu_count); in read_SCP_info()
188 int cpu_count; in sclp_read_cpu_info() local
199 prepare_cpu_entries(machine, cpu_info->entries, &cpu_count); in sclp_read_cpu_info()
200 cpu_info->nr_configured = cpu_to_be16(cpu_count); in sclp_read_cpu_info()
/openbmc/u-boot/tools/concurrencytest/
H A Dconcurrencytest.py28 from multiprocessing import cpu_count
43 CPU_COUNT = cpu_count()
/openbmc/openbmc-tools/rootfs_size/
H A Drootfs_size.py9 from multiprocessing import Pool, cpu_count
38 default=int(cpu_count()),
/openbmc/u-boot/tools/
H A Dgenboardscfg.py430 cpu_count = multiprocessing.cpu_count()
432 cpu_count = 1
438 parser.add_option('-j', '--jobs', type='int', default=cpu_count,
H A Dmoveconfig.py1783 cpu_count = multiprocessing.cpu_count()
1785 cpu_count = 1
1821 parser.add_option('-j', '--jobs', type='int', default=cpu_count,
/openbmc/qemu/target/i386/kvm/
H A Dvmsr_energy.c168 unsigned int cpu_count = 0; in vmsr_get_maxcpus() local
180 cpu_count++; in vmsr_get_maxcpus()
186 return cpu_count; in vmsr_get_maxcpus()
/openbmc/openbmc/poky/meta/recipes-devtools/clang/
H A Dcommon-clang.inc22 export PIGZ = "-p ${@oe.utils.cpu_count(at_least=2)}"
/openbmc/openbmc-test-automation/lib/
H A Dopen_power_utils.robot131 ${cpu_count}= Get Functional Processor Count
132 Log To Console Functional Processor count: ${cpu_count}
134 FOR ${num} IN RANGE ${0} ${cpu_count}
148 Should Be Equal ${active_occ_count} ${cpu_count}
149 ... msg=OCC count ${active_occ_count} and CPU Count ${cpu_count} mismatched.
/openbmc/u-boot/tools/buildman/
H A Dcontrol.py268 options.threads = min(multiprocessing.cpu_count(), len(selected))
270 options.jobs = max(1, (multiprocessing.cpu_count() +
/openbmc/u-boot/tools/binman/
H A Dbinman83 fork_for_tests(processes or multiprocessing.cpu_count()))
H A Dbinman.py83 fork_for_tests(processes or multiprocessing.cpu_count()))
/openbmc/openbmc-build-scripts/scripts/
H A Dunit-test.py290 str(multiprocessing.cpu_count()),
293 str(multiprocessing.cpu_count()),
390 str(multiprocessing.cpu_count()),
791 str(multiprocessing.cpu_count()),
/openbmc/qemu/tests/vm/
H A Dbasevm.py575 if multiprocessing.cpu_count() > 1:
577 return multiprocessing.cpu_count() // 2
583 return min(multiprocessing.cpu_count() // 2, 8)
/openbmc/entity-manager/scripts/
H A Dvalidate_configs.py31 return os.cpu_count() or 1
/openbmc/openbmc/poky/meta/lib/oe/
H A Dutils.py254 def cpu_count(at_least=1, at_most=64): function
269 return int(d.getVar("BB_NUMBER_THREADS") or os.cpu_count() or 1)
/openbmc/openbmc/poky/meta/recipes-rt/rt-tests/files/
H A Drt_bmark.py136 cpu_cnt = str(multiprocessing.cpu_count())
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/toybox/
H A Dtoybox_0.8.12.bb38 HOSTCC="${BUILD_CC}" CPUS=${@oe.utils.cpu_count()} V=1'

12