- unsigned find_memory_type_index(unsigned, MemoryType);
- unsigned allocate(std::size_t, unsigned, MemoryType);
- Allocation &get_allocation(unsigned);
- const Allocation &get_allocation(unsigned) const;
+ unsigned find_memory_pool(unsigned, MemoryType);
+ unsigned create_region(unsigned, size_t, bool);
+ std::vector<unsigned>::iterator lower_bound_by_size(std::vector<unsigned> &, std::size_t);
+ unsigned allocate(std::size_t, std::size_t, unsigned, MemoryType);
+ unsigned split_block(unsigned, std::size_t);
+ void consolidate(unsigned);
+ void merge_block_with_next(unsigned);