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