| 719 | } |
| 720 | |
| 721 | Status LoggingMemoryPool::Reallocate(int64_t old_size, int64_t new_size, |
| 722 | int64_t alignment, uint8_t** ptr) { |
| 723 | Status s = pool_->Reallocate(old_size, new_size, ptr); |
| 724 | std::cout << "Reallocate: old_size = " << old_size << ", new_size = " << new_size |
| 725 | << ", alignment = " << alignment << std::endl; |
| 726 | return s; |
| 727 | } |
| 728 | |
| 729 | void LoggingMemoryPool::Free(uint8_t* buffer, int64_t size, int64_t alignment) { |
| 730 | pool_->Free(buffer, size, alignment); |