Searched refs:NSEC_PER_SEC (Results 1 – 4 of 4) sorted by relevance
31 #define NSEC_PER_SEC (1000*1000*1000) macro33 #define NSEC_PER_MSEC (NSEC_PER_SEC/MSEC_PER_SEC)36 return ((long long)(a->tv_sec - b->tv_sec)) * NSEC_PER_SEC + in timediff_ns()164 if (llabs(diff) > NSEC_PER_SEC) { in main()166 llabs(diff) / NSEC_PER_SEC, in main()170 llabs(diff) / NSEC_PER_SEC, in main()
44 #define NSEC_PER_SEC 1000000000LL macro161 start = ts_start.tv_sec * NSEC_PER_SEC + ts_start.tv_nsec; in ion_heap_bench()162 end = ts_end.tv_sec * NSEC_PER_SEC + ts_end.tv_nsec; in ion_heap_bench()188 start = ts_start.tv_sec * NSEC_PER_SEC + ts_start.tv_nsec; in dmabuf_heap_bench()189 end = ts_end.tv_sec * NSEC_PER_SEC + ts_end.tv_nsec; in dmabuf_heap_bench()
30 constexpr uint64_t NSEC_PER_SEC = 1000000000; variable37 float percent = ns / stats.threads() / (time * NSEC_PER_SEC / 100.0f); in TimeToTgidPercent()
47 #define NSEC_PER_SEC (1000 * NANOSEC_PER_MILLISEC) macro597 if (abstime.tv_nsec > NSEC_PER_SEC) { in GKI_wait()598 abstime.tv_sec += (abstime.tv_nsec / NSEC_PER_SEC); in GKI_wait()599 abstime.tv_nsec = abstime.tv_nsec % NSEC_PER_SEC; in GKI_wait()