Searched refs:NSEC_PER_SEC (Results 1 – 3 of 3) 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()
30 constexpr uint64_t NSEC_PER_SEC = 1000000000; variable37 float percent = ns / stats.threads() / (time * NSEC_PER_SEC / 100.0f); in TimeToTgidPercent()
51 #define NSEC_PER_SEC (1000 * NANOSEC_PER_MILLISEC) macro601 if (abstime.tv_nsec > NSEC_PER_SEC) { in GKI_wait()602 abstime.tv_sec += (abstime.tv_nsec / NSEC_PER_SEC); in GKI_wait()603 abstime.tv_nsec = abstime.tv_nsec % NSEC_PER_SEC; in GKI_wait()