Searched refs:qTimerFreq (Results 1 – 1 of 1) sorted by relevance
205 uint64_t qTimerCount = 0, qTimerFreq = 0; in getTimeOffset() local208 asm volatile("mrs %0, cntfrq_el0" : "=r"(qTimerFreq)); in getTimeOffset()211 if (qTimerFreq != 0) { in getTimeOffset()214 uint64_t qTimerNanos = (qTimerCount / qTimerFreq); in getTimeOffset()224 uint64_t remainder = (qTimerCount % qTimerFreq); in getTimeOffset()226 (remainder * kOneSecondInNanoseconds + qTimerFreq / 2) / qTimerFreq; in getTimeOffset()