mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-06-05 19:54:16 +03:00
Make prof_idump_accum() non-inline
This commit is contained in:
parent
039bfd4e30
commit
e10e5059e8
3 changed files with 6 additions and 15 deletions
|
|
@ -649,9 +649,13 @@ prof_accum_init(void) {
|
|||
}
|
||||
|
||||
bool
|
||||
prof_idump_accum_impl(tsdn_t *tsdn, uint64_t accumbytes) {
|
||||
prof_idump_accum(tsdn_t *tsdn, uint64_t accumbytes) {
|
||||
cassert(config_prof);
|
||||
|
||||
if (prof_interval == 0 || !prof_active_get_unlocked()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return counter_accum(tsdn, &prof_idump_accumulated, accumbytes);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue