Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/common/
Dcpu.h33 extern uint64_t Cpu_tsc_freq;
/DragonOS-0.1.5/kernel/src/driver/timers/HPET/
DHPET.c27 extern uint64_t Cpu_tsc_freq; // 导出自cpu.c
174 Cpu_tsc_freq = (test_tsc_end - test_tsc_start) * (1000UL / interval); in HPET_measure_freq()
176 kinfo("TSC frequency: %ldMHz", Cpu_tsc_freq / 1000000); in HPET_measure_freq()
/DragonOS-0.1.5/kernel/src/time/
Dsleep.c37 uint64_t expired_tsc = rdtsc() + (((uint64_t)rqtp->tv_nsec) * Cpu_tsc_freq) / 1000000000; in nanosleep()
/DragonOS-0.1.5/kernel/src/libs/
Dcpu.c30 uint64_t Cpu_tsc_freq = 0; variable