Changeset View
Changeset View
Standalone View
Standalone View
head/contrib/jemalloc/include/jemalloc/internal/tcache_externs.h
#ifndef JEMALLOC_INTERNAL_TCACHE_EXTERNS_H | #ifndef JEMALLOC_INTERNAL_TCACHE_EXTERNS_H | ||||
#define JEMALLOC_INTERNAL_TCACHE_EXTERNS_H | #define JEMALLOC_INTERNAL_TCACHE_EXTERNS_H | ||||
#include "jemalloc/internal/size_classes.h" | |||||
extern bool opt_tcache; | extern bool opt_tcache; | ||||
extern ssize_t opt_lg_tcache_max; | extern ssize_t opt_lg_tcache_max; | ||||
extern cache_bin_info_t *tcache_bin_info; | extern cache_bin_info_t *tcache_bin_info; | ||||
/* | /* | ||||
* Number of tcache bins. There are NBINS small-object bins, plus 0 or more | * Number of tcache bins. There are SC_NBINS small-object bins, plus 0 or more | ||||
* large-object bins. | * large-object bins. | ||||
*/ | */ | ||||
extern unsigned nhbins; | extern unsigned nhbins; | ||||
/* Maximum cached size class. */ | /* Maximum cached size class. */ | ||||
extern size_t tcache_maxclass; | extern size_t tcache_maxclass; | ||||
/* | /* | ||||
Show All 35 Lines |