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

Method totalAllocations

src/CppUTest/TestMemoryAllocator.cpp:553–561  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

551}
552
553size_t MemoryAccountant::totalAllocations() const
554{
555 size_t theTotalAllocations = 0;
556
557 for (MemoryAccountantAllocationNode* node = head_; node; node = node->next_)
558 theTotalAllocations += node->allocations_;
559
560 return theTotalAllocations;
561}
562
563size_t MemoryAccountant::totalDeallocations() const
564{

Callers 2

TESTFunction · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected