Searched refs:qTimerFreq (Results 1 – 1 of 1) sorted by relevance
260 uint64_t qTimerCount = 0, qTimerFreq = 0; in getTimeOffset() local263 asm volatile("mrs %0, cntfrq_el0" : "=r"(qTimerFreq)); in getTimeOffset()266 if (qTimerFreq != 0) { in getTimeOffset()269 uint64_t qTimerNanos = (qTimerCount / qTimerFreq); in getTimeOffset()278 uint64_t remainder = (qTimerCount % qTimerFreq); in getTimeOffset()280 (remainder * kOneSecondInNanoseconds + qTimerFreq / 2) / qTimerFreq; in getTimeOffset()