summaryrefslogtreecommitdiffstats
path: root/include/jemalloc/internal/background_thread_externs.h
diff options
context:
space:
mode:
authorQi Wang <interwq@gwu.edu>2017-05-12 19:30:33 (GMT)
committerQi Wang <interwq@gmail.com>2017-05-23 19:26:20 (GMT)
commit2bee0c6251856f48ed6882df2f02a060c0a14829 (patch)
treeabca780861059dadb43e1c74b908e78d6d56d052 /include/jemalloc/internal/background_thread_externs.h
parentb693c7868ea965407aca4cb01fdb8fe9af14adce (diff)
downloadjemalloc-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.h2
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 *,