Home
last modified time | relevance | path

Searched refs:HashtablezInfo (Results 1 – 25 of 58) sorted by relevance

123

/external/openscreen/third_party/abseil/src/absl/container/internal/
Dhashtablez_sampler.h60 struct HashtablezInfo { struct
62 HashtablezInfo();
63 ~HashtablezInfo();
64 HashtablezInfo(const HashtablezInfo&) = delete;
65 HashtablezInfo& operator=(const HashtablezInfo&) = delete; argument
87 HashtablezInfo* next; argument
88 HashtablezInfo* dead ABSL_GUARDED_BY(init_mu);
101 inline void RecordRehashSlow(HashtablezInfo* info, size_t total_probe_length) { in RecordRehashSlow() argument
116 inline void RecordStorageChangedSlow(HashtablezInfo* info, size_t size, in RecordStorageChangedSlow()
127 void RecordInsertSlow(HashtablezInfo* info, size_t hash,
[all …]
Dhashtablez_sampler.cc33 constexpr int HashtablezInfo::kMaxStackDepth;
63 HashtablezInfo::HashtablezInfo() { PrepareForSampling(); } in HashtablezInfo() function in absl::container_internal::HashtablezInfo
64 HashtablezInfo::~HashtablezInfo() = default;
66 void HashtablezInfo::PrepareForSampling() { in PrepareForSampling()
80 depth = absl::GetStackTrace(stack, HashtablezInfo::kMaxStackDepth, in PrepareForSampling()
92 HashtablezInfo* s = all_.load(std::memory_order_acquire); in ~HashtablezSampler()
94 HashtablezInfo* next = s->next; in ~HashtablezSampler()
100 void HashtablezSampler::PushNew(HashtablezInfo* sample) { in PushNew()
108 void HashtablezSampler::PushDead(HashtablezInfo* sample) { in PushDead()
119 HashtablezInfo* HashtablezSampler::PopDead() { in PopDead()
[all …]
Dhashtablez_sampler_test.cc48 static HashtablezInfo* GetInfo(HashtablezInfoHandle* h) { return h->info_; } in GetInfo()
54 static HashtablezInfo* GetInfo(HashtablezInfoHandle*) { return nullptr; }
65 s->Iterate([&](const HashtablezInfo& info) { in GetSizes()
71 HashtablezInfo* Register(HashtablezSampler* s, size_t size) { in Register()
80 HashtablezInfo info; in TEST()
116 HashtablezInfo info; in TEST()
128 HashtablezInfo info; in TEST()
147 HashtablezInfo info; in TEST()
160 HashtablezInfo info; in TEST()
190 HashtablezInfo* sample = SampleSlow(&next_sample); in TEST()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/internal/
Dhashtablez_sampler.h60 struct HashtablezInfo { struct
62 HashtablezInfo();
63 ~HashtablezInfo();
64 HashtablezInfo(const HashtablezInfo&) = delete;
65 HashtablezInfo& operator=(const HashtablezInfo&) = delete; argument
88 HashtablezInfo* next; argument
89 HashtablezInfo* dead ABSL_GUARDED_BY(init_mu);
102 inline void RecordRehashSlow(HashtablezInfo* info, size_t total_probe_length) { in RecordRehashSlow() argument
117 inline void RecordStorageChangedSlow(HashtablezInfo* info, size_t size, in RecordStorageChangedSlow()
128 void RecordInsertSlow(HashtablezInfo* info, size_t hash,
[all …]
Dhashtablez_sampler.cc33 constexpr int HashtablezInfo::kMaxStackDepth;
63 HashtablezInfo::HashtablezInfo() { PrepareForSampling(); } in HashtablezInfo() function in absl::container_internal::HashtablezInfo
64 HashtablezInfo::~HashtablezInfo() = default;
66 void HashtablezInfo::PrepareForSampling() { in PrepareForSampling()
81 depth = absl::GetStackTrace(stack, HashtablezInfo::kMaxStackDepth, in PrepareForSampling()
93 HashtablezInfo* s = all_.load(std::memory_order_acquire); in ~HashtablezSampler()
95 HashtablezInfo* next = s->next; in ~HashtablezSampler()
101 void HashtablezSampler::PushNew(HashtablezInfo* sample) { in PushNew()
109 void HashtablezSampler::PushDead(HashtablezInfo* sample) { in PushDead()
120 HashtablezInfo* HashtablezSampler::PopDead() { in PopDead()
[all …]
Dhashtablez_sampler_test.cc48 static HashtablezInfo* GetInfo(HashtablezInfoHandle* h) { return h->info_; } in GetInfo()
54 static HashtablezInfo* GetInfo(HashtablezInfoHandle*) { return nullptr; }
65 s->Iterate([&](const HashtablezInfo& info) { in GetSizes()
71 HashtablezInfo* Register(HashtablezSampler* s, size_t size) { in Register()
80 HashtablezInfo info; in TEST()
119 HashtablezInfo info; in TEST()
131 HashtablezInfo info; in TEST()
153 HashtablezInfo info; in TEST()
166 HashtablezInfo info; in TEST()
196 HashtablezInfo* sample = SampleSlow(&next_sample); in TEST()
[all …]
/external/libtextclassifier/abseil-cpp/absl/container/internal/
Dhashtablez_sampler.h60 struct HashtablezInfo { struct
62 HashtablezInfo();
63 ~HashtablezInfo();
64 HashtablezInfo(const HashtablezInfo&) = delete;
65 HashtablezInfo& operator=(const HashtablezInfo&) = delete; argument
87 HashtablezInfo* next; argument
88 HashtablezInfo* dead ABSL_GUARDED_BY(init_mu);
101 inline void RecordRehashSlow(HashtablezInfo* info, size_t total_probe_length) { in RecordRehashSlow() argument
116 inline void RecordStorageChangedSlow(HashtablezInfo* info, size_t size, in RecordStorageChangedSlow()
127 void RecordInsertSlow(HashtablezInfo* info, size_t hash,
[all …]
Dhashtablez_sampler.cc33 constexpr int HashtablezInfo::kMaxStackDepth;
63 HashtablezInfo::HashtablezInfo() { PrepareForSampling(); } in HashtablezInfo() function in absl::container_internal::HashtablezInfo
64 HashtablezInfo::~HashtablezInfo() = default;
66 void HashtablezInfo::PrepareForSampling() { in PrepareForSampling()
80 depth = absl::GetStackTrace(stack, HashtablezInfo::kMaxStackDepth, in PrepareForSampling()
92 HashtablezInfo* s = all_.load(std::memory_order_acquire); in ~HashtablezSampler()
94 HashtablezInfo* next = s->next; in ~HashtablezSampler()
100 void HashtablezSampler::PushNew(HashtablezInfo* sample) { in PushNew()
108 void HashtablezSampler::PushDead(HashtablezInfo* sample) { in PushDead()
119 HashtablezInfo* HashtablezSampler::PopDead() { in PopDead()
[all …]
Dhashtablez_sampler_test.cc48 static HashtablezInfo* GetInfo(HashtablezInfoHandle* h) { return h->info_; } in GetInfo()
54 static HashtablezInfo* GetInfo(HashtablezInfoHandle*) { return nullptr; }
65 s->Iterate([&](const HashtablezInfo& info) { in GetSizes()
71 HashtablezInfo* Register(HashtablezSampler* s, size_t size) { in Register()
80 HashtablezInfo info; in TEST()
116 HashtablezInfo info; in TEST()
128 HashtablezInfo info; in TEST()
147 HashtablezInfo info; in TEST()
160 HashtablezInfo info; in TEST()
190 HashtablezInfo* sample = SampleSlow(&next_sample); in TEST()
[all …]
/external/cronet/third_party/abseil-cpp/absl/container/internal/
Dhashtablez_sampler.h61 struct HashtablezInfo : public profiling_internal::Sample<HashtablezInfo> { struct
63 HashtablezInfo();
64 ~HashtablezInfo();
65 HashtablezInfo(const HashtablezInfo&) = delete;
66 HashtablezInfo& operator=(const HashtablezInfo&) = delete; argument
98 void RecordRehashSlow(HashtablezInfo* info, size_t total_probe_length); argument
100 void RecordReservationSlow(HashtablezInfo* info, size_t target_capacity);
102 void RecordClearedReservationSlow(HashtablezInfo* info);
104 void RecordStorageChangedSlow(HashtablezInfo* info, size_t size,
107 void RecordInsertSlow(HashtablezInfo* info, size_t hash,
[all …]
Dhashtablez_sampler.cc40 constexpr int HashtablezInfo::kMaxStackDepth;
71 HashtablezInfo::HashtablezInfo() = default;
72 HashtablezInfo::~HashtablezInfo() = default;
74 void HashtablezInfo::PrepareForSampling(int64_t stride, in PrepareForSampling()
92 depth = absl::GetStackTrace(stack, HashtablezInfo::kMaxStackDepth, in PrepareForSampling()
117 HashtablezInfo* SampleSlow(SamplingState& next_sample, in SampleSlow()
122 HashtablezInfo* result = in SampleSlow()
160 void UnsampleSlow(HashtablezInfo* info) { in UnsampleSlow()
164 void RecordRehashSlow(HashtablezInfo* info, size_t total_probe_length) { in RecordRehashSlow()
179 void RecordReservationSlow(HashtablezInfo* info, size_t target_capacity) { in RecordReservationSlow()
[all …]
Dhashtablez_sampler_test.cc49 static HashtablezInfo* GetInfo(HashtablezInfoHandle* h) { return h->info_; } in GetInfo()
55 static HashtablezInfo* GetInfo(HashtablezInfoHandle*) { return nullptr; }
66 s->Iterate([&](const HashtablezInfo& info) { in GetSizes()
72 HashtablezInfo* Register(HashtablezSampler* s, size_t size) { in Register()
85 HashtablezInfo info; in TEST()
131 HashtablezInfo info; in TEST()
145 HashtablezInfo info; in TEST()
171 HashtablezInfo info; in TEST()
187 HashtablezInfo info; in TEST()
212 HashtablezInfo info; in TEST()
[all …]
/external/angle/third_party/abseil-cpp/absl/container/internal/
Dhashtablez_sampler.h61 struct HashtablezInfo : public profiling_internal::Sample<HashtablezInfo> { struct
63 HashtablezInfo();
64 ~HashtablezInfo();
65 HashtablezInfo(const HashtablezInfo&) = delete;
66 HashtablezInfo& operator=(const HashtablezInfo&) = delete; argument
98 void RecordRehashSlow(HashtablezInfo* info, size_t total_probe_length); argument
100 void RecordReservationSlow(HashtablezInfo* info, size_t target_capacity);
102 void RecordClearedReservationSlow(HashtablezInfo* info);
104 void RecordStorageChangedSlow(HashtablezInfo* info, size_t size,
107 void RecordInsertSlow(HashtablezInfo* info, size_t hash,
[all …]
Dhashtablez_sampler.cc40 constexpr int HashtablezInfo::kMaxStackDepth;
71 HashtablezInfo::HashtablezInfo() = default;
72 HashtablezInfo::~HashtablezInfo() = default;
74 void HashtablezInfo::PrepareForSampling(int64_t stride, in PrepareForSampling()
92 depth = absl::GetStackTrace(stack, HashtablezInfo::kMaxStackDepth, in PrepareForSampling()
117 HashtablezInfo* SampleSlow(SamplingState& next_sample, in SampleSlow()
122 HashtablezInfo* result = in SampleSlow()
160 void UnsampleSlow(HashtablezInfo* info) { in UnsampleSlow()
164 void RecordRehashSlow(HashtablezInfo* info, size_t total_probe_length) { in RecordRehashSlow()
179 void RecordReservationSlow(HashtablezInfo* info, size_t target_capacity) { in RecordReservationSlow()
[all …]
Dhashtablez_sampler_test.cc49 static HashtablezInfo* GetInfo(HashtablezInfoHandle* h) { return h->info_; } in GetInfo()
55 static HashtablezInfo* GetInfo(HashtablezInfoHandle*) { return nullptr; }
66 s->Iterate([&](const HashtablezInfo& info) { in GetSizes()
72 HashtablezInfo* Register(HashtablezSampler* s, size_t size) { in Register()
85 HashtablezInfo info; in TEST()
131 HashtablezInfo info; in TEST()
145 HashtablezInfo info; in TEST()
171 HashtablezInfo info; in TEST()
187 HashtablezInfo info; in TEST()
212 HashtablezInfo info; in TEST()
[all …]
/external/tensorflow/third_party/absl/abseil-cpp/absl/container/internal/
Dhashtablez_sampler.h61 struct HashtablezInfo : public profiling_internal::Sample<HashtablezInfo> { struct
63 HashtablezInfo();
64 ~HashtablezInfo();
65 HashtablezInfo(const HashtablezInfo&) = delete;
66 HashtablezInfo& operator=(const HashtablezInfo&) = delete; argument
98 inline void RecordRehashSlow(HashtablezInfo* info, size_t total_probe_length) { in RecordRehashSlow() argument
113 inline void RecordReservationSlow(HashtablezInfo* info, in RecordReservationSlow()
121 inline void RecordClearedReservationSlow(HashtablezInfo* info) { in RecordClearedReservationSlow()
125 inline void RecordStorageChangedSlow(HashtablezInfo* info, size_t size, in RecordStorageChangedSlow()
136 void RecordInsertSlow(HashtablezInfo* info, size_t hash,
[all …]
Dhashtablez_sampler.cc37 constexpr int HashtablezInfo::kMaxStackDepth;
68 HashtablezInfo::HashtablezInfo() = default;
69 HashtablezInfo::~HashtablezInfo() = default;
71 void HashtablezInfo::PrepareForSampling(int64_t stride, in PrepareForSampling()
89 depth = absl::GetStackTrace(stack, HashtablezInfo::kMaxStackDepth, in PrepareForSampling()
114 HashtablezInfo* SampleSlow(SamplingState& next_sample, in SampleSlow()
119 HashtablezInfo* result = in SampleSlow()
157 void UnsampleSlow(HashtablezInfo* info) { in UnsampleSlow()
161 void RecordInsertSlow(HashtablezInfo* info, size_t hash, in RecordInsertSlow()
Dhashtablez_sampler_test.cc49 static HashtablezInfo* GetInfo(HashtablezInfoHandle* h) { return h->info_; } in GetInfo()
55 static HashtablezInfo* GetInfo(HashtablezInfoHandle*) { return nullptr; }
66 s->Iterate([&](const HashtablezInfo& info) { in GetSizes()
72 HashtablezInfo* Register(HashtablezSampler* s, size_t size) { in Register()
85 HashtablezInfo info; in TEST()
131 HashtablezInfo info; in TEST()
145 HashtablezInfo info; in TEST()
171 HashtablezInfo info; in TEST()
187 HashtablezInfo info; in TEST()
212 HashtablezInfo info; in TEST()
[all …]
/external/abseil-cpp/absl/container/internal/
Dhashtablez_sampler.h61 struct HashtablezInfo : public profiling_internal::Sample<HashtablezInfo> { struct
63 HashtablezInfo();
64 ~HashtablezInfo();
65 HashtablezInfo(const HashtablezInfo&) = delete;
66 HashtablezInfo& operator=(const HashtablezInfo&) = delete; argument
98 inline void RecordRehashSlow(HashtablezInfo* info, size_t total_probe_length) { in RecordRehashSlow() argument
113 inline void RecordReservationSlow(HashtablezInfo* info, in RecordReservationSlow()
121 inline void RecordClearedReservationSlow(HashtablezInfo* info) { in RecordClearedReservationSlow()
125 inline void RecordStorageChangedSlow(HashtablezInfo* info, size_t size, in RecordStorageChangedSlow()
136 void RecordInsertSlow(HashtablezInfo* info, size_t hash,
[all …]
Dhashtablez_sampler.cc37 constexpr int HashtablezInfo::kMaxStackDepth;
68 HashtablezInfo::HashtablezInfo() = default;
69 HashtablezInfo::~HashtablezInfo() = default;
71 void HashtablezInfo::PrepareForSampling(int64_t stride, in PrepareForSampling()
89 depth = absl::GetStackTrace(stack, HashtablezInfo::kMaxStackDepth, in PrepareForSampling()
114 HashtablezInfo* SampleSlow(SamplingState& next_sample, in SampleSlow()
119 HashtablezInfo* result = in SampleSlow()
157 void UnsampleSlow(HashtablezInfo* info) { in UnsampleSlow()
161 void RecordInsertSlow(HashtablezInfo* info, size_t hash, in RecordInsertSlow()
Dhashtablez_sampler_test.cc49 static HashtablezInfo* GetInfo(HashtablezInfoHandle* h) { return h->info_; } in GetInfo()
55 static HashtablezInfo* GetInfo(HashtablezInfoHandle*) { return nullptr; }
66 s->Iterate([&](const HashtablezInfo& info) { in GetSizes()
72 HashtablezInfo* Register(HashtablezSampler* s, size_t size) { in Register()
85 HashtablezInfo info; in TEST()
131 HashtablezInfo info; in TEST()
145 HashtablezInfo info; in TEST()
171 HashtablezInfo info; in TEST()
187 HashtablezInfo info; in TEST()
212 HashtablezInfo info; in TEST()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/container/internal/
Dhashtablez_sampler.h61 struct HashtablezInfo : public profiling_internal::Sample<HashtablezInfo> { struct
63 HashtablezInfo();
64 ~HashtablezInfo();
65 HashtablezInfo(const HashtablezInfo&) = delete;
66 HashtablezInfo& operator=(const HashtablezInfo&) = delete; argument
98 inline void RecordRehashSlow(HashtablezInfo* info, size_t total_probe_length) { in RecordRehashSlow() argument
113 inline void RecordReservationSlow(HashtablezInfo* info, in RecordReservationSlow()
121 inline void RecordClearedReservationSlow(HashtablezInfo* info) { in RecordClearedReservationSlow()
125 inline void RecordStorageChangedSlow(HashtablezInfo* info, size_t size, in RecordStorageChangedSlow()
136 void RecordInsertSlow(HashtablezInfo* info, size_t hash,
[all …]
Dhashtablez_sampler.cc37 constexpr int HashtablezInfo::kMaxStackDepth;
68 HashtablezInfo::HashtablezInfo() = default;
69 HashtablezInfo::~HashtablezInfo() = default;
71 void HashtablezInfo::PrepareForSampling(int64_t stride, in PrepareForSampling()
89 depth = absl::GetStackTrace(stack, HashtablezInfo::kMaxStackDepth, in PrepareForSampling()
114 HashtablezInfo* SampleSlow(SamplingState& next_sample, in SampleSlow()
119 HashtablezInfo* result = in SampleSlow()
157 void UnsampleSlow(HashtablezInfo* info) { in UnsampleSlow()
161 void RecordInsertSlow(HashtablezInfo* info, size_t hash, in RecordInsertSlow()
Dhashtablez_sampler_test.cc49 static HashtablezInfo* GetInfo(HashtablezInfoHandle* h) { return h->info_; } in GetInfo()
55 static HashtablezInfo* GetInfo(HashtablezInfoHandle*) { return nullptr; }
66 s->Iterate([&](const HashtablezInfo& info) { in GetSizes()
72 HashtablezInfo* Register(HashtablezSampler* s, size_t size) { in Register()
85 HashtablezInfo info; in TEST()
131 HashtablezInfo info; in TEST()
145 HashtablezInfo info; in TEST()
171 HashtablezInfo info; in TEST()
187 HashtablezInfo info; in TEST()
212 HashtablezInfo info; in TEST()
[all …]
/external/angle/third_party/abseil-cpp/absl/container/
Dsample_element_size_test.cc40 std::unordered_set<const HashtablezInfo*>& preexisting_info, // NOLINT in TestInlineElementSize()
52 sampler.Iterate([&](const HashtablezInfo& info) { in TestInlineElementSize()
97 std::unordered_set<const HashtablezInfo*> preexisting_info; // NOLINT in TEST()
99 [&](const HashtablezInfo& info) { preexisting_info.insert(&info); }); in TEST()

123