Home
last modified time | relevance | path

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

/xen/xen/arch/arm/
A Dtime.c44 unsigned long __read_mostly cpu_khz; /* CPU clock frequency in kHz. */ variable
59 return muldiv64(ticks, SECONDS(1), 1000 * cpu_khz); in ticks_to_ns()
64 return muldiv64(ns, 1000 * cpu_khz, SECONDS(1)); in ns_to_ticks()
132 cpu_khz = rate / 1000; in preinit_dt_xen_time()
147 if ( !cpu_khz ) in preinit_xen_time()
148 cpu_khz = READ_SYSREG32(CNTFRQ_EL0) / 1000; in preinit_xen_time()
187 cpu_khz); in init_xen_time()
/xen/tools/firmware/hvmloader/
A Dutil.c806 uint64_t cpu_khz; in get_cpu_mhz() local
824 cpu_khz = 1000000ull << 32; in get_cpu_mhz()
825 do_div(cpu_khz, tsc_to_nsec_mul); in get_cpu_mhz()
827 cpu_khz = cpu_khz << -tsc_shift; in get_cpu_mhz()
829 cpu_khz = cpu_khz >> tsc_shift; in get_cpu_mhz()
831 cpu_mhz = (uint16_t)(((uint32_t)cpu_khz + 500) / 1000); in get_cpu_mhz()
/xen/xen/arch/x86/
A Ddelay.c20 unsigned long ticks = usecs * (cpu_khz / 1000); in __udelay()
A Dnmi.c155 unsigned long ticks = 10 * 1000 * cpu_khz / nmi_hz; in wait_for_nmis()
209 nmi_hz = max(1ul, cpu_khz >> 20); in check_nmi_watchdog()
295 u64 count = (u64)cpu_khz * 1000; in write_watchdog_counter()
A Dtime.c48 unsigned long __read_mostly cpu_khz; /* CPU clock frequency in kHz. */ variable
1630 check_tsc_warp(cpu_khz, &tsc_max_warp); in tsc_check_slave()
1646 check_tsc_warp(cpu_khz, &tsc_max_warp); in tsc_check_reliability()
2093 cpu_khz = (unsigned long)tmp; in early_time_init()
2095 cpu_khz / 1000, cpu_khz % 1000); in early_time_init()
2364 *gtsc_khz = enable_tsc_scaling ? d->arch.tsc_khz : cpu_khz; in tsc_get_info()
2397 d->arch.tsc_khz = gtsc_khz ?: cpu_khz; in tsc_set_info()
2408 (d->arch.tsc_khz == cpu_khz || in tsc_set_info()
A Demul-i8254.c474 void pit_init(struct domain *d, unsigned long cpu_khz) in pit_init() argument
A Dtraps.c1026 res->a = cpu_khz; in cpuid_hypervisor_leaves()
A Ddomain.c644 pit_init(d, cpu_khz); in arch_domain_create()
/xen/xen/include/xen/
A Dtime.h17 extern unsigned long cpu_khz;
/xen/xen/common/
A Dsysctl.c271 pi->cpu_khz = cpu_khz; in do_sysctl()
/xen/xen/include/asm-x86/hvm/
A Dvpt.h181 void pit_init(struct domain *d, unsigned long cpu_khz);
/xen/xen/arch/x86/acpi/cpufreq/
A Dcpufreq.c480 if (cpu_khz) { in acpi_cpufreq_guess_freq()
489 if ((2 * cpu_khz) > (freqn + freq)) { in acpi_cpufreq_guess_freq()
/xen/tools/xl/
A Dxl_info.c206 maybe_printf("cpu_mhz : %d.%03d\n", info.cpu_khz / 1000, info.cpu_khz % 1000); in output_physinfo()
/xen/tools/libxl/
A Dlibxl.c371 physinfo->cpu_khz = xcphysinfo.cpu_khz; in libxl_get_physinfo()
A Dlibxl_types.idl1033 ("cpu_khz", uint32),
/xen/tools/ocaml/libs/xc/
A Dxenctrl.ml125 cpu_khz : int; RecordField
A Dxenctrl.mli109 cpu_khz : int; RecordField
A Dxenctrl_stubs.c727 Store_field(physinfo, 4, Val_int(c_physinfo.cpu_khz)); in stub_xc_physinfo()
/xen/xen/arch/x86/cpu/microcode/
A Dcore.c512 if ( tick && rdtsc_ordered() - tick >= cpu_khz * 1000 ) in control_thread_fn()
/xen/xen/include/public/
A Dsysctl.h114 uint32_t cpu_khz; member
/xen/tools/xenstat/libxenstat/src/
A Dxenstat.c158 node->cpu_hz = ((unsigned long long)physinfo.cpu_khz) * 1000ULL; in xenstat_get_node()
/xen/tools/xenmon/
A Dxenbaked.c452 opts.cpu_freq = (double)physinfo.cpu_khz/1000.0; in get_num_cpus()
/xen/tools/python/xen/lowlevel/xc/
A Dxc.c905 "cpu_khz", pinfo.cpu_khz, in pyxc_physinfo()
/xen/xen/arch/x86/hvm/
A Dhvm.c385 if ( gtsc_khz / cpu_khz > (max_ratio >> ratio_frac_bits) ) in hvm_get_tsc_scaling_ratio()
396 [hkhz] "rm" ((u64) cpu_khz) ); in hvm_get_tsc_scaling_ratio()
/xen/tools/golang/xenlight/
A Dhelpers.gen.go3333 x.CpuKhz = uint32(xc.cpu_khz)
3363 xc.cpu_khz = C.uint32_t(x.CpuKhz)

Completed in 99 milliseconds