Home
last modified time | relevance | path

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

/external/libevent/
Devutil_time.c563 ev_int64_t counter_elapsed, counter_usec_elapsed, ticks_elapsed; in evutil_gettime_monotonic_() local
570 counter_usec_elapsed = (ev_int64_t) in evutil_gettime_monotonic_()
573 if (abs64(ticks_elapsed*1000 - counter_usec_elapsed) > 1000000) { in evutil_gettime_monotonic_()
579 counter_usec_elapsed = ticks_elapsed * 1000; in evutil_gettime_monotonic_()
580 …base->first_counter = (ev_uint64_t) (counter.QuadPart - counter_usec_elapsed / base->usec_per_coun… in evutil_gettime_monotonic_()
582 tp->tv_sec = (time_t) (counter_usec_elapsed / 1000000); in evutil_gettime_monotonic_()
583 tp->tv_usec = counter_usec_elapsed % 1000000; in evutil_gettime_monotonic_()