Home
last modified time | relevance | path

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

/system/chre/platform/slpi/
Dsystem_time_util.cc24 constexpr uint64_t kClockFreq = 19200000; // 19.2MHz QTimer clock in getNanosecondsFromQTimerTicks() local
27 if (ticks >= kClockFreq) { in getNanosecondsFromQTimerTicks()
28 uint64_t seconds = (ticks / kClockFreq); in getNanosecondsFromQTimerTicks()
29 ticks %= kClockFreq; in getNanosecondsFromQTimerTicks()
33 nsec += (ticks * kOneSecondInNanoseconds) / kClockFreq; in getNanosecondsFromQTimerTicks()