Home | History | Annotate | Download | only in metrics

Lines Matching full:max_threads

101     int max_threads;
107 int max_threads, int max_counters);
116 int max_threads() const { return table_header_->max_threads; }
134 return &data_table_[(counter_id-1) * max_threads()];
151 int max_threads);
168 int max_threads,
185 priv->InitializeTable(memory, size, max_counters, max_threads);
196 int max_threads) {
205 header->max_threads = max_threads;
221 max_threads() * StatsTable::kMaxThreadNameLength;
225 offset += sizeof(int) * max_threads();
229 offset += sizeof(int) * max_threads();
238 offset += sizeof(int) * max_threads() * max_counters();
257 StatsTable::StatsTable(const std::string& name, int max_threads,
264 AlignedSize((max_threads * sizeof(char) * kMaxThreadNameLength)) +
265 AlignedSize(max_threads * sizeof(int)) +
266 AlignedSize(max_threads * sizeof(int)) +
267 AlignedSize((sizeof(int) * (max_counters * max_threads)));
269 impl_ = Private::New(name, table_size, max_threads, max_counters);
343 for (int index = 1; index <= impl_->max_threads(); index++) {
376 if (slot_id > impl_->max_threads())
400 for (int slot_id = 0; slot_id < impl_->max_threads(); slot_id++) {
430 return impl_->max_threads();
495 for (; index <= impl_->max_threads(); index++) {
500 if (index > impl_->max_threads())