Home
last modified time | relevance | path

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

/external/jemalloc_new/include/jemalloc/internal/
Dnstime.h10 } nstime_t; typedef
12 void nstime_init(nstime_t *time, uint64_t ns);
13 void nstime_init2(nstime_t *time, uint64_t sec, uint64_t nsec);
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);
[all …]
Darena_structs_b.h32 nstime_t interval;
40 nstime_t epoch;
50 nstime_t deadline;
215 nstime_t create_time;
Dbackground_thread_structs.h31 nstime_t next_wakeup;
42 nstime_t tot_sleep_time;
49 nstime_t run_interval;
Dmutex_prof.h73 nstime_t tot_wait_time;
75 nstime_t max_wait_time;
Darena_stats.h94 nstime_t uptime;
/external/jemalloc_new/src/
Dnstime.c12 nstime_init(nstime_t *time, uint64_t ns) { in nstime_init()
17 nstime_init2(nstime_t *time, uint64_t sec, uint64_t nsec) { in nstime_init2()
22 nstime_ns(const nstime_t *time) { in nstime_ns()
27 nstime_msec(const nstime_t *time) { in nstime_msec()
32 nstime_sec(const nstime_t *time) { in nstime_sec()
37 nstime_nsec(const nstime_t *time) { in nstime_nsec()
42 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()
59 nstime_iadd(nstime_t *time, uint64_t addend) { in nstime_iadd()
[all …]
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()
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;
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()
/external/jemalloc_new/test/unit/
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()
142 nstime_t nsta, nstb; in TEST_BEGIN()
159 nstime_t nsta, nstb; in TEST_BEGIN()
[all …]
Dbackground_thread.c86 nstime_t start, now; in TEST_BEGIN()
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()
/external/jemalloc_new/test/include/test/
Dtimer.h4 nstime_t t0;
5 nstime_t t1;
/external/jemalloc_new/test/src/
Dtimer.c17 nstime_t delta; in timer_usec()