mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-04 15:26:00 +02:00
Added TCMalloc and JEMalloc projects
This commit is contained in:
parent
53376f3861
commit
652142e189
242 changed files with 67746 additions and 6 deletions
12
BeefRT/JEMalloc/include/jemalloc/internal/slab_data.h
Normal file
12
BeefRT/JEMalloc/include/jemalloc/internal/slab_data.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
#ifndef JEMALLOC_INTERNAL_SLAB_DATA_H
|
||||
#define JEMALLOC_INTERNAL_SLAB_DATA_H
|
||||
|
||||
#include "jemalloc/internal/bitmap.h"
|
||||
|
||||
typedef struct slab_data_s slab_data_t;
|
||||
struct slab_data_s {
|
||||
/* Per region allocated/deallocated bitmap. */
|
||||
bitmap_t bitmap[BITMAP_GROUPS_MAX];
|
||||
};
|
||||
|
||||
#endif /* JEMALLOC_INTERNAL_SLAB_DATA_H */
|
Loading…
Add table
Add a link
Reference in a new issue