Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
absl::container_internal::HashtablezSampler Class Reference

#include <hashtablez_sampler.h>

Public Types

using DisposeCallback = void(*)(const HashtablezInfo &)
 

Public Member Functions

 HashtablezSampler ()
 
int64_t Iterate (const std::function< void(const HashtablezInfo &stack)> &f)
 
HashtablezInfoRegister ()
 
DisposeCallback SetDisposeCallback (DisposeCallback f)
 
void Unregister (HashtablezInfo *sample)
 
 ~HashtablezSampler ()
 

Static Public Member Functions

static HashtablezSamplerGlobal ()
 

Private Member Functions

HashtablezInfoPopDead ()
 
void PushDead (HashtablezInfo *sample)
 
void PushNew (HashtablezInfo *sample)
 

Private Attributes

std::atomic< HashtablezInfo * > all_
 
std::atomic< DisposeCallbackdispose_
 
std::atomic< size_t > dropped_samples_
 
HashtablezInfo graveyard_
 
std::atomic< size_t > size_estimate_
 

Detailed Description

Definition at line 238 of file bloaty/third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.h.

Member Typedef Documentation

◆ DisposeCallback

Constructor & Destructor Documentation

◆ HashtablezSampler()

absl::container_internal::HashtablezSampler::HashtablezSampler ( )

◆ ~HashtablezSampler()

absl::container_internal::HashtablezSampler::~HashtablezSampler ( )

Member Function Documentation

◆ Global()

HashtablezSampler & absl::container_internal::HashtablezSampler::Global ( )
static

◆ Iterate()

int64_t absl::container_internal::HashtablezSampler::Iterate ( const std::function< void(const HashtablezInfo &stack)> &  f)

◆ PopDead()

HashtablezInfo * absl::container_internal::HashtablezSampler::PopDead ( )
private

◆ PushDead()

void absl::container_internal::HashtablezSampler::PushDead ( HashtablezInfo sample)
private

◆ PushNew()

void absl::container_internal::HashtablezSampler::PushNew ( HashtablezInfo sample)
private

◆ Register()

HashtablezInfo * absl::container_internal::HashtablezSampler::Register ( )

◆ SetDisposeCallback()

HashtablezSampler::DisposeCallback absl::container_internal::HashtablezSampler::SetDisposeCallback ( DisposeCallback  f)

◆ Unregister()

void absl::container_internal::HashtablezSampler::Unregister ( HashtablezInfo sample)

Member Data Documentation

◆ all_

std::atomic<HashtablezInfo*> absl::container_internal::HashtablezSampler::all_
private

◆ dispose_

std::atomic<DisposeCallback> absl::container_internal::HashtablezSampler::dispose_
private

◆ dropped_samples_

std::atomic<size_t> absl::container_internal::HashtablezSampler::dropped_samples_
private

◆ graveyard_

HashtablezInfo absl::container_internal::HashtablezSampler::graveyard_
private

◆ size_estimate_

std::atomic<size_t> absl::container_internal::HashtablezSampler::size_estimate_
private

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


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