Boxify superslab registry, add bench profile, and document C7 hotpath experiments
This commit is contained in:
@ -10,6 +10,7 @@
|
||||
#include <stdint.h>
|
||||
#include "../hakmem_tiny_config.h"
|
||||
#include "../superslab/superslab_types.h"
|
||||
#include "../box/tiny_mem_stats_box.h"
|
||||
|
||||
// ============================================================================
|
||||
// Warm Pool Design
|
||||
@ -74,6 +75,7 @@ static inline void tiny_warm_pool_init_once(void) {
|
||||
for (int i = 0; i < TINY_NUM_CLASSES; i++) {
|
||||
g_tiny_warm_pool[i].count = 0;
|
||||
}
|
||||
tiny_mem_stats_add_warm((ssize_t)(sizeof(g_tiny_warm_pool) + sizeof(g_warm_pool_stats)));
|
||||
initialized = 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user