Home
last modified time | relevance | path

Searched refs:clockSpeed (Results 1 – 2 of 2) sorted by relevance

/haiku/src/system/boot/arch/x86/
H A Darch_cpu.cpp285 uint64 clockSpeed = tscDeltaSlow / expired; in calculate_cpu_conversion_factor() local
290 if (clockSpeed > 1000000000LL) { in calculate_cpu_conversion_factor()
291 dprintf("CPU at %lld.%03Ld GHz\n", clockSpeed / 1000000000LL, in calculate_cpu_conversion_factor()
292 (clockSpeed % 1000000000LL) / 1000000LL); in calculate_cpu_conversion_factor()
294 dprintf("CPU at %lld.%03Ld MHz\n", clockSpeed / 1000000LL, in calculate_cpu_conversion_factor()
295 (clockSpeed % 1000000LL) / 1000LL); in calculate_cpu_conversion_factor()
300 gKernelArgs.arch_args.cpu_clock_speed = clockSpeed; in calculate_cpu_conversion_factor()
333 uint64 clockSpeed = uint64(info.regs.eax) * 1000; in determine_cpu_conversion_factor() local
337 gKernelArgs.arch_args.cpu_clock_speed = clockSpeed; in determine_cpu_conversion_factor()
/haiku/src/apps/aboutsystem/
H A DAboutSystem.cpp1159 BString clockSpeed; in _GetCPUFrequency() local
1163 clockSpeed.SetToFormat(B_TRANSLATE_COMMENT("%ld MHz", in _GetCPUFrequency()
1167 clockSpeed.SetToFormat(B_TRANSLATE_COMMENT("%.2f GHz", in _GetCPUFrequency()
1171 return clockSpeed; in _GetCPUFrequency()