mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-02 08:30:27 +03:00
Extract out per event postponed wait time fetching
This commit is contained in:
parent
f72014d097
commit
abd4674931
7 changed files with 37 additions and 5 deletions
10
src/tcache.c
10
src/tcache.c
|
|
@ -45,11 +45,21 @@ tcache_gc_new_event_wait(tsd_t *tsd) {
|
|||
return TCACHE_GC_INCR_BYTES;
|
||||
}
|
||||
|
||||
uint64_t
|
||||
tcache_gc_postponed_event_wait(tsd_t *tsd) {
|
||||
return TE_MIN_START_WAIT;
|
||||
}
|
||||
|
||||
uint64_t
|
||||
tcache_gc_dalloc_new_event_wait(tsd_t *tsd) {
|
||||
return TCACHE_GC_INCR_BYTES;
|
||||
}
|
||||
|
||||
uint64_t
|
||||
tcache_gc_dalloc_postponed_event_wait(tsd_t *tsd) {
|
||||
return TE_MIN_START_WAIT;
|
||||
}
|
||||
|
||||
void
|
||||
tcache_event_hard(tsd_t *tsd, tcache_slow_t *tcache_slow, tcache_t *tcache) {
|
||||
szind_t binind = tcache_slow->next_gc_bin;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue