mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 13:13:06 +00:00
Add thread.peak.[read|reset] mallctls.
These can be used to track net allocator activity on a per-thread basis.
This commit is contained in:
committed by
David Goldblatt
parent
fe7108305a
commit
d82a164d0d
@@ -60,6 +60,16 @@ stats_interval_fetch_elapsed(tsd_t *tsd) {
|
||||
return last_event - last_stats_event;
|
||||
}
|
||||
|
||||
static uint64_t
|
||||
peak_alloc_fetch_elapsed(tsd_t *tsd) {
|
||||
return TE_INVALID_ELAPSED;
|
||||
}
|
||||
|
||||
static uint64_t
|
||||
peak_dalloc_fetch_elapsed(tsd_t *tsd) {
|
||||
return TE_INVALID_ELAPSED;
|
||||
}
|
||||
|
||||
/* Per event facilities done. */
|
||||
|
||||
static bool
|
||||
|
||||
Reference in New Issue
Block a user