Home
last modified time | relevance | path

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

/libevent-2.1.12/
H A Devutil_time.c349 struct timeval *tp) in evutil_gettime_monotonic_() argument
356 adjust_monotonic_time(base, tp); in evutil_gettime_monotonic_()
362 tp->tv_sec = ts.tv_sec; in evutil_gettime_monotonic_()
363 tp->tv_usec = ts.tv_nsec / 1000; in evutil_gettime_monotonic_()
405 struct timeval *tp) in evutil_gettime_monotonic_() argument
418 tp->tv_sec = usec / 1000000; in evutil_gettime_monotonic_()
419 tp->tv_usec = usec % 1000000; in evutil_gettime_monotonic_()
553 struct timeval *tp) in evutil_gettime_monotonic_() argument
590 adjust_monotonic_time(base, tp); in evutil_gettime_monotonic_()
613 struct timeval *tp) in evutil_gettime_monotonic_() argument
[all …]
H A Devent.c413 gettime(struct event_base *base, struct timeval *tp) in gettime() argument
418 *tp = base->tv_cache; in gettime()
422 if (evutil_gettime_monotonic_(&base->monotonic_timer, tp) == -1) { in gettime()
427 < tp->tv_sec) { in gettime()
430 evutil_timersub(&tv, tp, &base->tv_clock_diff); in gettime()
431 base->last_updated_clock_diff = tp->tv_sec; in gettime()
/libevent-2.1.12/include/event2/
H A Devent.h403 int event_gettime_monotonic(struct event_base *base, struct timeval *tp);
H A Dutil.h376 struct timeval *tp);