| 527 | } |
| 528 | |
| 529 | size_t MemoryAccountant::totalAllocationsOfSize(size_t size) const |
| 530 | { |
| 531 | MemoryAccountantAllocationNode* node = findNodeOfSize(size); |
| 532 | if (node) |
| 533 | return node->allocations_; |
| 534 | return 0; |
| 535 | } |
| 536 | |
| 537 | size_t MemoryAccountant::totalDeallocationsOfSize(size_t size) const |
| 538 | { |