Home
last modified time | relevance | path

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

/external/qemu/
Dcpu-all.h1030 static uint32_t cyc_per_count = 0; in cpu_get_real_ticks() local
1032 if (!cyc_per_count) in cpu_get_real_ticks()
1033 __asm__ __volatile__("rdhwr %0, $3" : "=r" (cyc_per_count)); in cpu_get_real_ticks()
1036 return (int64_t)(count * cyc_per_count); in cpu_get_real_ticks()