MCPcopy Create free account
hub / github.com/cpputest/cpputest / totalDeallocations

Method totalDeallocations

src/CppUTest/TestMemoryAllocator.cpp:563–571  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

561}
562
563size_t MemoryAccountant::totalDeallocations() const
564{
565 size_t theTotalDeallocations = 0;
566
567 for (MemoryAccountantAllocationNode* node = head_; node; node = node->next_)
568 theTotalDeallocations += node->deallocations_;
569
570 return theTotalDeallocations;
571}
572
573SimpleString MemoryAccountant::reportNoAllocations() const
574{

Callers 2

TESTFunction · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected