| 190 | } |
| 191 | |
| 192 | std::set<PoolId> MemoryPoolManager::getPoolIds() const { |
| 193 | std::set<PoolId> ret; |
| 194 | for (PoolId id = 0; id < nextPoolId_; ++id) { |
| 195 | ret.insert(id); |
| 196 | } |
| 197 | return ret; |
| 198 | } |
| 199 | |
| 200 | bool MemoryPoolManager::resizePools(PoolId src, PoolId dest, size_t bytes) { |
| 201 | auto& srcPool = getPoolById(src); |