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 205 of file hashtablez_sampler.h.

Member Typedef Documentation

Definition at line 223 of file hashtablez_sampler.h.

Constructor & Destructor Documentation

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

Definition at line 145 of file

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

Definition at line 151 of file

Member Function Documentation

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

Definition at line 114 of file

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

Definition at line 217 of file

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

Definition at line 179 of file

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

Definition at line 168 of file

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

Definition at line 160 of file

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

Definition at line 194 of file

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

Definition at line 119 of file

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

Definition at line 212 of file

Member Data Documentation

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

Definition at line 263 of file hashtablez_sampler.h.

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

Definition at line 266 of file hashtablez_sampler.h.

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

Definition at line 235 of file hashtablez_sampler.h.

HashtablezInfo absl::container_internal::HashtablezSampler::graveyard_

Definition at line 264 of file hashtablez_sampler.h.

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

Definition at line 236 of file hashtablez_sampler.h.

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

autogenerated on Wed Jun 19 2019 19:19:59