Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/mesa/include/android_stub/log/
Dlog_time.h23 #define NS_PER_SEC 1000000000ULL macro
111 this->tv_nsec = NS_PER_SEC + this->tv_nsec - T.tv_nsec;
125 if (this->tv_nsec >= NS_PER_SEC) {
126 this->tv_nsec -= NS_PER_SEC;
139 return static_cast<uint64_t>(tv_sec) * NS_PER_SEC + tv_nsec; in nsec()
143 tv_nsec / (NS_PER_SEC / US_PER_SEC); in usec()
147 tv_nsec / (NS_PER_SEC / MS_PER_SEC); in msec()
Dlog_read.h64 return static_cast<uint64_t>(entry.sec) * NS_PER_SEC + entry.nsec; in nsec()
/hardware/knowles/athletico/sound_trigger_hal/tests/
Dtunnel_test.c228 uint64_t timer_ns = timer_signal * NS_PER_SEC;
233 timer_spec.it_value.tv_sec = timer_ns / NS_PER_SEC;
234 timer_spec.it_value.tv_nsec = timer_ns % NS_PER_SEC;