class StatsTest_CountersReflectMallocAndFree_Test

Defined at line 24 of file ../../src/performance/memory/heapdump/instrumentation/tests/stats_test.cc

Verify that malloc and free calls are intercepted by the instrumentation by observing heapdump's

counters.

- The global counters may also be incremented as a result of other threads allocating or

deallocating in the background. Therefore, we can only test that they are incremented by *at

least* the amount of memory that we malloc/free.

- The thread-local counters should reflect our malloc/free calls exactly.

Public Methods

void StatsTest_CountersReflectMallocAndFree_Test ()

Defined at line 24 of file ../../src/performance/memory/heapdump/instrumentation/tests/stats_test.cc

void StatsTest_CountersReflectMallocAndFree_Test (const StatsTest_CountersReflectMallocAndFree_Test & )

Defined at line 24 of file ../../src/performance/memory/heapdump/instrumentation/tests/stats_test.cc

void StatsTest_CountersReflectMallocAndFree_Test (StatsTest_CountersReflectMallocAndFree_Test && )

Defined at line 24 of file ../../src/performance/memory/heapdump/instrumentation/tests/stats_test.cc

StatsTest_CountersReflectMallocAndFree_Test & operator= (const StatsTest_CountersReflectMallocAndFree_Test & )

Defined at line 24 of file ../../src/performance/memory/heapdump/instrumentation/tests/stats_test.cc

StatsTest_CountersReflectMallocAndFree_Test & operator= (StatsTest_CountersReflectMallocAndFree_Test && )

Defined at line 24 of file ../../src/performance/memory/heapdump/instrumentation/tests/stats_test.cc

void ~StatsTest_CountersReflectMallocAndFree_Test ()

Defined at line 24 of file ../../src/performance/memory/heapdump/instrumentation/tests/stats_test.cc