47 namespace MemoryConfig {
128 #ifndef GECODE_MEMORY_ALIGNMENT
129 #define GECODE_MEMORY_ALIGNMENT 8
141 void align(
size_t& s);
const int fl_size_max
Maximal size for free list element.
const unsigned int n_hc_cache
How many heap chunks should be cached at most.
const int hcsz_inc_ratio
Increment ratio for chunk size.
const size_t hcsz_min
Minimal size of a heap chunk requested from the OS.
const size_t hcsz_max
Maximal size of a heap chunk requested from the OS.
const int hcsz_dec_ratio
Decrement ratio for chunk size.
#define GECODE_MEMORY_ALIGNMENT
Memory alignment.
const int fl_refill
Number of free lists elements to allocate.
const int fl_size_min
Minimal size for free list element.
const size_t region_area_size
Size of region area.
const int fl_unit_size
Unit size for free lists.
Gecode toplevel namespace
void align(size_t &s)
Align size s to the required alignment.