Searched refs:cyc_per_count (Results 1 – 1 of 1) sorted by relevance
1030 static uint32_t cyc_per_count = 0; in cpu_get_real_ticks() local1032 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()