Home
last modified time | relevance | path

Searched refs:cpu_freq_hz (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/compat/bhyve/amd64/machine/
H A Dclock.h19 extern uint64_t cpu_freq_hz;
21 #define tsc_freq cpu_freq_hz
/illumos-gate/usr/src/uts/i86pc/os/
H A Dtimestamp.c726 tsc_hrtimeinit(uint64_t cpu_freq_hz) in tsc_hrtimeinit() argument
739 ASSERT(cpu_freq_hz > NANOSEC / (1 << NSEC_SHIFT)); in tsc_hrtimeinit()
741 (uint_t)(((uint64_t)NANOSEC << (32 - NSEC_SHIFT)) / cpu_freq_hz); in tsc_hrtimeinit()
743 (uint_t)(((uint64_t)cpu_freq_hz << (32 - NSEC_SHIFT)) / NANOSEC); in tsc_hrtimeinit()
874 extern uint64_t cpu_freq_hz; in tsc_resume()
897 sleep_tsc = sleep_sec * cpu_freq_hz; in tsc_resume()
H A Dmp_machdep.c80 static int machhztomhz(uint64_t cpu_freq_hz);
1207 uint64_t cpu_freq_hz; /* measured (in hertz) */ variable
1380 machhztomhz(uint64_t cpu_freq_hz) in machhztomhz() argument
1385 cpu_mhz = (cpu_freq_hz + (MEGA_HZ / 2)) / MEGA_HZ; in machhztomhz()
1403 cpu_freq_hz = mach_getcpufreq(); in mach_clkinit()
1405 cpu_freq = machhztomhz(cpu_freq_hz); in mach_clkinit()
H A Dmp_startup.c139 cp->cpu_curr_clock = cpu_freq_hz; in init_cpu_info()
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dclock.h54 extern void tsc_hrtimeinit(uint64_t cpu_freq_hz);
/illumos-gate/usr/src/uts/intel/sys/
H A Darchsystm.h147 extern uint64_t cpu_freq_hz;