Public Member Functions | Static Public Attributes | List of all members
testing::MallocCounter Class Reference

#include <test.h>

Public Member Functions

long long HeapGrowth ()
 
long long HeapGrowth ()
 
 MallocCounter (int x)
 
 MallocCounter (int x)
 
long long PeakHeapGrowth ()
 
long long PeakHeapGrowth ()
 
void Reset ()
 
void Reset ()
 

Static Public Attributes

static const int THIS_THREAD_ONLY = 0
 

Detailed Description

Definition at line 48 of file bloaty/third_party/re2/util/test.h.

Constructor & Destructor Documentation

◆ MallocCounter() [1/2]

testing::MallocCounter::MallocCounter ( int  x)
inline

Definition at line 50 of file bloaty/third_party/re2/util/test.h.

◆ MallocCounter() [2/2]

testing::MallocCounter::MallocCounter ( int  x)
inline

Definition at line 11 of file malloc_counter.h.

Member Function Documentation

◆ HeapGrowth() [1/2]

long long testing::MallocCounter::HeapGrowth ( )
inline

Definition at line 13 of file malloc_counter.h.

◆ HeapGrowth() [2/2]

long long testing::MallocCounter::HeapGrowth ( )
inline

Definition at line 52 of file bloaty/third_party/re2/util/test.h.

◆ PeakHeapGrowth() [1/2]

long long testing::MallocCounter::PeakHeapGrowth ( )
inline

Definition at line 14 of file malloc_counter.h.

◆ PeakHeapGrowth() [2/2]

long long testing::MallocCounter::PeakHeapGrowth ( )
inline

Definition at line 53 of file bloaty/third_party/re2/util/test.h.

◆ Reset() [1/2]

void testing::MallocCounter::Reset ( )
inline

Definition at line 15 of file malloc_counter.h.

◆ Reset() [2/2]

void testing::MallocCounter::Reset ( )
inline

Definition at line 54 of file bloaty/third_party/re2/util/test.h.

Member Data Documentation

◆ THIS_THREAD_ONLY

static const int testing::MallocCounter::THIS_THREAD_ONLY = 0
static

Definition at line 51 of file bloaty/third_party/re2/util/test.h.


The documentation for this class was generated from the following files:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:45