mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 13:13:06 +00:00
De-export test-only helpers via JET_EXTERN / #ifdef JEMALLOC_JET; declare in unit tests, not headers
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
#include "test/jemalloc_test.h"
|
||||
#include "jemalloc/internal/prof_log.h"
|
||||
|
||||
extern size_t prof_log_bt_count(void);
|
||||
extern size_t prof_log_alloc_count(void);
|
||||
extern size_t prof_log_thr_count(void);
|
||||
extern bool prof_log_is_logging(void);
|
||||
extern bool prof_log_rep_check(void);
|
||||
extern void prof_log_dummy_set(bool new_value);
|
||||
|
||||
#define N_PARAM 100
|
||||
#define N_THREADS 10
|
||||
|
||||
|
||||
Reference in New Issue
Block a user