Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
absl::container_internal::HashtablezSampler Class Reference

#include <hashtablez_sampler.h>

List of all members.

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< DisposeCallback > dispose_
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.


Constructor & Destructor Documentation

Definition at line 145 of file hashtablez_sampler.cc.

Definition at line 151 of file hashtablez_sampler.cc.


Member Function Documentation

Definition at line 114 of file hashtablez_sampler.cc.

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

Definition at line 217 of file hashtablez_sampler.cc.

Definition at line 179 of file hashtablez_sampler.cc.

Definition at line 168 of file hashtablez_sampler.cc.

Definition at line 160 of file hashtablez_sampler.cc.

Definition at line 194 of file hashtablez_sampler.cc.

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

Definition at line 119 of file hashtablez_sampler.cc.

Definition at line 212 of file hashtablez_sampler.cc.


Member Data Documentation

Definition at line 263 of file hashtablez_sampler.h.

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

Definition at line 266 of file hashtablez_sampler.h.

Definition at line 235 of file hashtablez_sampler.h.

Definition at line 264 of file hashtablez_sampler.h.

Definition at line 236 of file hashtablez_sampler.h.


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


abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:42:16