mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-25 10:07:36 +03:00
De-export test-only helpers via JET_EXTERN / #ifdef JEMALLOC_JET; declare in unit tests, not headers
This commit is contained in:
parent
6db4d0c468
commit
4de3a4c3d1
46 changed files with 123 additions and 59 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue