Home
last modified time | relevance | path

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

/redis-3.2.3/deps/jemalloc/test/src/
H A Dtimer.c4 timer_start(timedelta_t *timer) in timer_start() argument
14 clock_gettime(timer->clock_id, &timer->ts0); in timer_start()
16 gettimeofday(&timer->tv0, NULL); in timer_start()
21 timer_stop(timedelta_t *timer) in timer_stop() argument
27 clock_gettime(timer->clock_id, &timer->ts1); in timer_stop()
40 timer->ft0.dwLowDateTime; in timer_usec()
42 timer->ft1.dwLowDateTime; in timer_usec()
45 return (((timer->ts1.tv_sec - timer->ts0.tv_sec) * 1000000) + in timer_usec()
46 (timer->ts1.tv_nsec - timer->ts0.tv_nsec) / 1000); in timer_usec()
48 return (((timer->tv1.tv_sec - timer->tv0.tv_sec) * 1000000) + in timer_usec()
[all …]
/redis-3.2.3/deps/jemalloc/test/include/test/
H A Dtimer.h23 void timer_start(timedelta_t *timer);
24 void timer_stop(timedelta_t *timer);
25 uint64_t timer_usec(const timedelta_t *timer);
H A Djemalloc_test.h.in148 #include "test/timer.h"
/redis-3.2.3/deps/jemalloc/test/stress/
H A Dmicrobench.c4 time_func(timedelta_t *timer, uint64_t nwarmup, uint64_t niter, void (*func)(void)) in time_func() argument
10 timer_start(timer); in time_func()
13 timer_stop(timer); in time_func()
/redis-3.2.3/deps/jemalloc/
H A DMakefile.in118 $(srcroot)test/src/thd.c $(srcroot)test/src/timer.c
/redis-3.2.3/
H A D00-RELEASENOTES1235 | ae.c: Fix delay until next timer event.
1266 a timer event (that is the time after it want to run again) is added