Home
last modified time | relevance | path

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

/external/jemalloc/include/jemalloc/internal/
Dnstime.h7 typedef struct nstime_s nstime_t; typedef
24 void nstime_init(nstime_t *time, uint64_t ns);
25 void nstime_init2(nstime_t *time, uint64_t sec, uint64_t nsec);
26 uint64_t nstime_ns(const nstime_t *time);
27 uint64_t nstime_sec(const nstime_t *time);
28 uint64_t nstime_nsec(const nstime_t *time);
29 void nstime_copy(nstime_t *time, const nstime_t *source);
30 int nstime_compare(const nstime_t *a, const nstime_t *b);
31 void nstime_add(nstime_t *time, const nstime_t *addend);
32 void nstime_subtract(nstime_t *time, const nstime_t *subtrahend);
[all …]
Darena.h397 nstime_t decay_interval;
405 nstime_t decay_epoch;
415 nstime_t decay_deadline;
/external/jemalloc/src/
Dnstime.c6 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 …]
Darena.c1228 nstime_t jitter; in arena_decay_deadline_init()
1237 arena_decay_deadline_reached(const arena_t *arena, const nstime_t *time) in arena_decay_deadline_reached()
1274 arena_decay_epoch_advance(arena_t *arena, const nstime_t *time) in arena_decay_epoch_advance()
1277 nstime_t delta; in arena_decay_epoch_advance()
1424 nstime_t time; in arena_maybe_purge_decay()
/external/jemalloc/test/unit/
Dnstime.c7 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()
181 nstime_t nst; in TEST_BEGIN()
[all …]
Ddecay.c8 static nstime_t time_mock;
12 nstime_update_mock(nstime_t *time) in nstime_update_mock()
209 nstime_t time, decay_time, deadline; in TEST_BEGIN()
/external/jemalloc/test/include/test/
Dtimer.h4 nstime_t t0;
5 nstime_t t1;
/external/jemalloc/test/src/
Dtimer.c22 nstime_t delta; in timer_usec()