struct HashtablezInfo

Defined at line 61 of file ../../third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.h

Stores information about a sampled hashtable. All mutations to this *must*

be made through `Record*` functions below. All reads from this *must* only

occur in the callback to `HashtablezSampler::Iterate`.

Public Members

atomic capacity
atomic size
atomic num_erases
atomic num_rehashes
atomic max_probe_length
atomic total_probe_length
atomic hashes_bitwise_or
atomic hashes_bitwise_and
atomic hashes_bitwise_xor
atomic max_reserve
Time create_time
int32_t depth
void *[64] stack
size_t inline_element_size
static const int kMaxStackDepth

Public Methods

void HashtablezInfo ()

Constructs the object but does not fill in any fields.

void HashtablezInfo (const HashtablezInfo & )

Defined at line 65 of file ../../third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.h

HashtablezInfo & operator= (const HashtablezInfo & )

Defined at line 66 of file ../../third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.h

void ~HashtablezInfo ()
void PrepareForSampling (int64_t stride, size_t inline_element_size_value)

Puts the object into a clean state, fills in the logically `const` members,

blocking for any readers that are currently sampling the object.