![]() |
My Project
|
#include <stdio.h>#include <unistd.h>#include <string.h>#include "omalloc/omConfig.h"#include "omalloc/omDerivedConfig.h"#include "omalloc/omStructs.h"#include "omalloc/omAllocPrivate.h"Go to the source code of this file.
Macros | |
| #define | MH_TABLES_C |
| #define | _POSIX_SOURCE 1 |
| #define | MIN_BIN_BLOCKS 4 |
| #define | INCR_FACTOR 1 |
| #define | OM_MAX_BLOCK_SIZE ((SIZEOF_OM_BIN_PAGE / MIN_BIN_BLOCKS) & ~(SIZEOF_STRICT_ALIGNMENT - 1)) |
Functions | |
| void | OutputSize2Bin (size_t *binSize, size_t max_block_size, int track) |
| void | OutputSize2AlignedBin (size_t *binSize, size_t max_block_size, int track) |
| void | OutputStaticBin (size_t *binSize, int max_bin_index, int track) |
| int | GetMaxBlockThreshold () |
| void | CreateDenseBins () |
| int | main (int argc, char *argv[]) |
Variables | |
| size_t | om_BinSize [SIZEOF_OM_BIN_PAGE/MIN_BIN_BLOCKS] |
| #define _POSIX_SOURCE 1 |
Definition at line 11 of file omTables.c.
| #define INCR_FACTOR 1 |
Definition at line 27 of file omTables.c.
| #define MH_TABLES_C |
Definition at line 9 of file omTables.c.
| #define MIN_BIN_BLOCKS 4 |
Definition at line 26 of file omTables.c.
| #define OM_MAX_BLOCK_SIZE ((SIZEOF_OM_BIN_PAGE / MIN_BIN_BLOCKS) & ~(SIZEOF_STRICT_ALIGNMENT - 1)) |
Definition at line 31 of file omTables.c.
| void CreateDenseBins | ( | ) |
Definition at line 136 of file omTables.c.
| int GetMaxBlockThreshold | ( | ) |
Definition at line 123 of file omTables.c.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 165 of file omTables.c.
| void OutputSize2AlignedBin | ( | size_t * | binSize, |
| size_t | max_block_size, | ||
| int | track | ||
| ) |
Definition at line 81 of file omTables.c.
| void OutputSize2Bin | ( | size_t * | binSize, |
| size_t | max_block_size, | ||
| int | track | ||
| ) |
Definition at line 65 of file omTables.c.
| void OutputStaticBin | ( | size_t * | binSize, |
| int | max_bin_index, | ||
| int | track | ||
| ) |
Definition at line 107 of file omTables.c.
| size_t om_BinSize[SIZEOF_OM_BIN_PAGE/MIN_BIN_BLOCKS] |
Definition at line 50 of file omTables.c.