diff options
author | Qi Wang <interwq@gwu.edu> | 2017-05-12 19:30:33 (GMT) |
---|---|---|
committer | Qi Wang <interwq@gmail.com> | 2017-05-23 19:26:20 (GMT) |
commit | 2bee0c6251856f48ed6882df2f02a060c0a14829 (patch) | |
tree | abca780861059dadb43e1c74b908e78d6d56d052 /include/jemalloc/internal/background_thread_externs.h | |
parent | b693c7868ea965407aca4cb01fdb8fe9af14adce (diff) | |
download | jemalloc-2bee0c6251856f48ed6882df2f02a060c0a14829.zip jemalloc-2bee0c6251856f48ed6882df2f02a060c0a14829.tar.gz jemalloc-2bee0c6251856f48ed6882df2f02a060c0a14829.tar.bz2 |
Add background thread related stats.
Diffstat (limited to 'include/jemalloc/internal/background_thread_externs.h')
-rw-r--r-- | include/jemalloc/internal/background_thread_externs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/jemalloc/internal/background_thread_externs.h b/include/jemalloc/internal/background_thread_externs.h index 993f0e3..fe25acf 100644 --- a/include/jemalloc/internal/background_thread_externs.h +++ b/include/jemalloc/internal/background_thread_externs.h @@ -19,6 +19,8 @@ void background_thread_prefork0(tsdn_t *tsdn); void background_thread_prefork1(tsdn_t *tsdn); void background_thread_postfork_parent(tsdn_t *tsdn); void background_thread_postfork_child(tsdn_t *tsdn); +bool background_thread_stats_read(tsdn_t *tsdn, + background_thread_stats_t *stats); #if defined(JEMALLOC_BACKGROUND_THREAD) || defined(JEMALLOC_LAZY_LOCK) extern int (*pthread_create_fptr)(pthread_t *__restrict, const pthread_attr_t *, |