Public Member Functions | Public Attributes | Static Public Attributes | List of all members
absl::container_internal::HashtablezInfo Struct Reference

#include <hashtablez_sampler.h>

Public Member Functions

HashtablezInfo *dead GUARDED_BY (init_mu)
 
 HashtablezInfo ()
 
 HashtablezInfo (const HashtablezInfo &)=delete
 
HashtablezInfooperator= (const HashtablezInfo &)=delete
 
void PrepareForSampling () EXCLUSIVE_LOCKS_REQUIRED(init_mu)
 
 ~HashtablezInfo ()
 

Public Attributes

std::atomic< size_t > capacity
 
absl::Time create_time
 
int32_t depth
 
std::atomic< size_t > hashes_bitwise_and
 
std::atomic< size_t > hashes_bitwise_or
 
absl::Mutex init_mu
 
std::atomic< size_t > max_probe_length
 
HashtablezInfonext
 
std::atomic< size_t > num_erases
 
std::atomic< size_t > size
 
void * stack [kMaxStackDepth]
 
std::atomic< size_t > total_probe_length
 

Static Public Attributes

static constexpr int kMaxStackDepth = 64
 

Detailed Description

Definition at line 59 of file hashtablez_sampler.h.

Constructor & Destructor Documentation

◆ HashtablezInfo() [1/2]

absl::container_internal::HashtablezInfo::HashtablezInfo ( )

Definition at line 124 of file hashtablez_sampler.cc.

◆ ~HashtablezInfo()

absl::container_internal::HashtablezInfo::~HashtablezInfo ( )
default

◆ HashtablezInfo() [2/2]

absl::container_internal::HashtablezInfo::HashtablezInfo ( const HashtablezInfo )
delete

Member Function Documentation

◆ GUARDED_BY()

HashtablezInfo* dead absl::container_internal::HashtablezInfo::GUARDED_BY ( init_mu  )

◆ operator=()

HashtablezInfo& absl::container_internal::HashtablezInfo::operator= ( const HashtablezInfo )
delete

◆ PrepareForSampling()

void absl::container_internal::HashtablezInfo::PrepareForSampling ( )

Definition at line 127 of file hashtablez_sampler.cc.

Member Data Documentation

◆ capacity

std::atomic<size_t> absl::container_internal::HashtablezInfo::capacity

Definition at line 72 of file hashtablez_sampler.h.

◆ create_time

absl::Time absl::container_internal::HashtablezInfo::create_time

Definition at line 94 of file hashtablez_sampler.h.

◆ depth

int32_t absl::container_internal::HashtablezInfo::depth

Definition at line 95 of file hashtablez_sampler.h.

◆ hashes_bitwise_and

std::atomic<size_t> absl::container_internal::HashtablezInfo::hashes_bitwise_and

Definition at line 78 of file hashtablez_sampler.h.

◆ hashes_bitwise_or

std::atomic<size_t> absl::container_internal::HashtablezInfo::hashes_bitwise_or

Definition at line 77 of file hashtablez_sampler.h.

◆ init_mu

absl::Mutex absl::container_internal::HashtablezInfo::init_mu

Definition at line 84 of file hashtablez_sampler.h.

◆ kMaxStackDepth

constexpr int absl::container_internal::HashtablezInfo::kMaxStackDepth = 64
static

Definition at line 93 of file hashtablez_sampler.h.

◆ max_probe_length

std::atomic<size_t> absl::container_internal::HashtablezInfo::max_probe_length

Definition at line 75 of file hashtablez_sampler.h.

◆ next

HashtablezInfo* absl::container_internal::HashtablezInfo::next

Definition at line 85 of file hashtablez_sampler.h.

◆ num_erases

std::atomic<size_t> absl::container_internal::HashtablezInfo::num_erases

Definition at line 74 of file hashtablez_sampler.h.

◆ size

std::atomic<size_t> absl::container_internal::HashtablezInfo::size

Definition at line 73 of file hashtablez_sampler.h.

◆ stack

void* absl::container_internal::HashtablezInfo::stack[kMaxStackDepth]

Definition at line 96 of file hashtablez_sampler.h.

◆ total_probe_length

std::atomic<size_t> absl::container_internal::HashtablezInfo::total_probe_length

Definition at line 76 of file hashtablez_sampler.h.


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


abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:22