/external/jemalloc_new/include/jemalloc/internal/ |
D | nstime.h | 10 } 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 …]
|
D | arena_structs_b.h | 32 nstime_t interval; 40 nstime_t epoch; 50 nstime_t deadline; 215 nstime_t create_time;
|
D | background_thread_structs.h | 31 nstime_t next_wakeup; 42 nstime_t tot_sleep_time; 49 nstime_t run_interval;
|
D | mutex_prof.h | 73 nstime_t tot_wait_time; 75 nstime_t max_wait_time;
|
D | arena_stats.h | 94 nstime_t uptime;
|
/external/jemalloc/include/jemalloc/internal/ |
D | nstime.h | 4 typedef struct nstime_s nstime_t; typedef 21 void nstime_init(nstime_t *time, uint64_t ns); 22 void nstime_init2(nstime_t *time, uint64_t sec, uint64_t nsec); 23 uint64_t nstime_ns(const nstime_t *time); 24 uint64_t nstime_sec(const nstime_t *time); 25 uint64_t nstime_nsec(const nstime_t *time); 26 void nstime_copy(nstime_t *time, const nstime_t *source); 27 int nstime_compare(const nstime_t *a, const nstime_t *b); 28 void nstime_add(nstime_t *time, const nstime_t *addend); 29 void nstime_subtract(nstime_t *time, const nstime_t *subtrahend); [all …]
|
D | arena.h | 292 nstime_t interval; 300 nstime_t epoch; 310 nstime_t deadline;
|
/external/jemalloc_new/src/ |
D | nstime.c | 12 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 …]
|
D | mutex.c | 49 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()
|
D | background_thread.c | 228 nstime_t before_sleep; 240 nstime_t next_wakeup; 249 nstime_t ts_wakeup; 264 nstime_t after_sleep; 674 nstime_t diff;
|
D | arena.c | 437 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/src/ |
D | nstime.c | 6 nstime_init(nstime_t *time, uint64_t ns) in nstime_init() 13 nstime_init2(nstime_t *time, uint64_t sec, uint64_t nsec) in nstime_init2() 20 nstime_ns(const nstime_t *time) in nstime_ns() 27 nstime_sec(const nstime_t *time) in nstime_sec() 34 nstime_nsec(const nstime_t *time) in nstime_nsec() 41 nstime_copy(nstime_t *time, const nstime_t *source) in nstime_copy() 48 nstime_compare(const nstime_t *a, const nstime_t *b) in nstime_compare() 55 nstime_add(nstime_t *time, const nstime_t *addend) in nstime_add() 64 nstime_subtract(nstime_t *time, const nstime_t *subtrahend) in nstime_subtract() 73 nstime_imultiply(nstime_t *time, uint64_t multiplier) in nstime_imultiply() [all …]
|
D | arena.c | 1258 nstime_t jitter; in arena_decay_deadline_init() 1267 arena_decay_deadline_reached(const arena_t *arena, const nstime_t *time) in arena_decay_deadline_reached() 1335 arena_decay_epoch_advance_helper(arena_t *arena, const nstime_t *time) in arena_decay_epoch_advance_helper() 1338 nstime_t delta; in arena_decay_epoch_advance_helper() 1371 arena_decay_epoch_advance(tsdn_t *tsdn, arena_t *arena, const nstime_t *time) in arena_decay_epoch_advance() 1473 nstime_t time; in arena_maybe_purge_decay()
|
/external/jemalloc_new/test/unit/ |
D | nstime.c | 6 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 …]
|
D | background_thread.c | 86 nstime_t start, now; in TEST_BEGIN()
|
D | decay.c | 9 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/test/unit/ |
D | nstime.c | 7 nstime_t nst; in TEST_BEGIN() 18 nstime_t nst; in TEST_BEGIN() 28 nstime_t nsta, nstb; in TEST_BEGIN() 40 nstime_t nsta, nstb; in TEST_BEGIN() 75 nstime_t nsta, nstb; in TEST_BEGIN() 95 nstime_t nsta, nstb; in TEST_BEGIN() 115 nstime_t nsta, nstb; in TEST_BEGIN() 133 nstime_t nsta, nstb; in TEST_BEGIN() 153 nstime_t nsta, nstb, nstc; in TEST_BEGIN() 188 nstime_t nst; in TEST_BEGIN() [all …]
|
D | decay.c | 9 static nstime_t time_mock; 20 nstime_update_mock(nstime_t *time) in nstime_update_mock() 217 nstime_t time, decay_time, deadline; in TEST_BEGIN()
|
/external/jemalloc_new/test/include/test/ |
D | timer.h | 4 nstime_t t0; 5 nstime_t t1;
|
/external/jemalloc/test/include/test/ |
D | timer.h | 4 nstime_t t0; 5 nstime_t t1;
|
/external/jemalloc/test/src/ |
D | timer.c | 22 nstime_t delta; in timer_usec()
|
/external/jemalloc_new/test/src/ |
D | timer.c | 17 nstime_t delta; in timer_usec()
|