Home
last modified time | relevance | path

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

/f-stack/app/redis-5.0.5/deps/jemalloc/include/jemalloc/internal/
H A Dnstime.h10 } nstime_t; typedef
12 void nstime_init(nstime_t *time, uint64_t ns);
14 uint64_t nstime_ns(const nstime_t *time);
15 uint64_t nstime_sec(const nstime_t *time);
16 uint64_t nstime_msec(const nstime_t *time);
17 uint64_t nstime_nsec(const nstime_t *time);
18 void nstime_copy(nstime_t *time, const nstime_t *source);
19 int nstime_compare(const nstime_t *a, const nstime_t *b);
20 void nstime_add(nstime_t *time, const nstime_t *addend);
22 void nstime_subtract(nstime_t *time, const nstime_t *subtrahend);
[all …]
H A Darena_structs_b.h32 nstime_t interval;
40 nstime_t epoch;
50 nstime_t deadline;
215 nstime_t create_time;
H A Dbackground_thread_structs.h31 nstime_t next_wakeup;
42 nstime_t tot_sleep_time;
49 nstime_t run_interval;
H A Dmutex_prof.h73 nstime_t tot_wait_time;
75 nstime_t max_wait_time;
H A Darena_stats.h94 nstime_t uptime;
/f-stack/app/redis-5.0.5/deps/jemalloc/src/
H A Dnstime.c42 nstime_copy(nstime_t *time, const nstime_t *source) { in nstime_copy()
47 nstime_compare(const nstime_t *a, const nstime_t *b) { in nstime_compare()
52 nstime_add(nstime_t *time, const nstime_t *addend) { in nstime_add()
66 nstime_subtract(nstime_t *time, const nstime_t *subtrahend) { in nstime_subtract()
95 nstime_divide(const nstime_t *time, const nstime_t *divisor) { in nstime_divide()
104 nstime_get(nstime_t *time) { in nstime_get()
116 nstime_get(nstime_t *time) { in nstime_get()
125 nstime_get(nstime_t *time) { in nstime_get()
134 nstime_get(nstime_t *time) { in nstime_get()
140 nstime_get(nstime_t *time) { in nstime_get()
[all …]
H A Dmutex.c49 UNUSED nstime_t before = NSTIME_ZERO_INITIALIZER; in malloc_mutex_lock_slow()
72 nstime_t after; in malloc_mutex_lock_slow()
89 nstime_t delta; in malloc_mutex_lock_slow()
H A Dbackground_thread.c228 nstime_t before_sleep;
240 nstime_t next_wakeup;
249 nstime_t ts_wakeup;
264 nstime_t after_sleep;
674 nstime_t diff;
H A Darena.c437 nstime_t jitter; in arena_decay_deadline_init()
446 arena_decay_deadline_reached(const arena_decay_t *decay, const nstime_t *time) { in arena_decay_deadline_reached()
522 arena_decay_epoch_advance_helper(arena_decay_t *decay, const nstime_t *time, in arena_decay_epoch_advance_helper()
526 nstime_t delta; in arena_decay_epoch_advance_helper()
547 extents_t *extents, const nstime_t *time, bool is_background_thread) { in arena_decay_epoch_advance()
629 nstime_t time; in arena_maybe_decay()
/f-stack/app/redis-5.0.5/deps/jemalloc/test/unit/
H A Dnstime.c6 nstime_t nst; in TEST_BEGIN()
16 nstime_t nst; in TEST_BEGIN()
25 nstime_t nsta, nstb; in TEST_BEGIN()
36 nstime_t nsta, nstb; in TEST_BEGIN()
70 nstime_t nsta, nstb; in TEST_BEGIN()
89 nstime_t nsta, nstb; in TEST_BEGIN()
106 nstime_t nsta, nstb; in TEST_BEGIN()
125 nstime_t nsta, nstb; in TEST_BEGIN()
210 nstime_t nst; in TEST_BEGIN()
218 nstime_t addend; in TEST_BEGIN()
[all …]
H A Dbackground_thread.c86 nstime_t start, now; in TEST_BEGIN()
H A Ddecay.c9 static nstime_t time_mock;
30 nstime_update_mock(nstime_t *time) { in nstime_update_mock()
379 nstime_t time, update_interval, decay_ms, deadline; in decay_ticker_helper()
/f-stack/app/redis-5.0.5/deps/jemalloc/test/include/test/
H A Dtimer.h4 nstime_t t0;
5 nstime_t t1;
/f-stack/app/redis-5.0.5/deps/jemalloc/test/src/
H A Dtimer.c17 nstime_t delta; in timer_usec()