#include <hashtablez_sampler.h>
Public Member Functions | |
HashtablezSampler () | |
int64_t | Iterate (const std::function< void(const HashtablezInfo &stack)> &f) |
HashtablezInfo * | Register () |
DisposeCallback | SetDisposeCallback (DisposeCallback f) |
void | Unregister (HashtablezInfo *sample) |
~HashtablezSampler () | |
Static Public Member Functions | |
static HashtablezSampler & | Global () |
Private Member Functions | |
HashtablezInfo * | PopDead () |
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_ |
Definition at line 205 of file hashtablez_sampler.h.
Definition at line 145 of file hashtablez_sampler.cc.
Definition at line 151 of file hashtablez_sampler.cc.
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.
HashtablezInfo * absl::container_internal::HashtablezSampler::PopDead | ( | ) | [private] |
Definition at line 179 of file hashtablez_sampler.cc.
void absl::container_internal::HashtablezSampler::PushDead | ( | HashtablezInfo * | sample | ) | [private] |
Definition at line 168 of file hashtablez_sampler.cc.
void absl::container_internal::HashtablezSampler::PushNew | ( | HashtablezInfo * | sample | ) | [private] |
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.
void absl::container_internal::HashtablezSampler::Unregister | ( | HashtablezInfo * | sample | ) |
Definition at line 212 of file hashtablez_sampler.cc.
std::atomic<HashtablezInfo*> absl::container_internal::HashtablezSampler::all_ [private] |
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.
std::atomic<size_t> absl::container_internal::HashtablezSampler::dropped_samples_ [private] |
Definition at line 235 of file hashtablez_sampler.h.
Definition at line 264 of file hashtablez_sampler.h.
std::atomic<size_t> absl::container_internal::HashtablezSampler::size_estimate_ [private] |
Definition at line 236 of file hashtablez_sampler.h.