Searched refs:counter_id (Results 1 - 7 of 7) sorted by relevance

/external/chromium_org/tools/telemetry/telemetry/core/timeline/
H A Dprocess.py50 counter_id = category + '.' + name
51 if counter_id in self.counters:
52 return self.counters[counter_id]
54 'Counter %s not found in process with id %s.' % (counter_id,
/external/chromium/base/metrics/
H A Dstats_table.cc129 char* counter_name(int counter_id) const {
131 (counter_id-1) * (StatsTable::kMaxCounterNameLength)];
133 int* row(int counter_id) const {
134 return &data_table_[(counter_id-1) * max_threads()];
373 int* StatsTable::GetLocation(int counter_id, int slot_id) const { argument
379 int* row = impl_->row(counter_id);
535 int counter_id = 0;
542 counter_id = FindCounterOrEmptyRow(name);
543 if (!counter_id)
549 strlcpy(impl_->counter_name(counter_id), counter_nam
[all...]
H A Dstats_table.h94 int* GetLocation(int counter_id, int slot_id) const;
168 // On success, returns the counter_id for the newly added counter.
H A Dstats_table_unittest.cc46 int counter_id = table.FindCounter(counter_name); local
47 EXPECT_GT(counter_id, 0);
55 int counter_id = table.FindCounter(counter_base_name); local
56 EXPECT_EQ(counter_id, 0);
/external/chromium_org/base/metrics/
H A Dstats_table.cc129 char* counter_name(int counter_id) const {
131 (counter_id-1) * (StatsTable::kMaxCounterNameLength)];
133 int* row(int counter_id) const {
134 return &data_table_[(counter_id-1) * max_threads()];
373 int* StatsTable::GetLocation(int counter_id, int slot_id) const { argument
379 int* row = impl_->row(counter_id);
531 int counter_id = 0; local
538 counter_id = FindCounterOrEmptyRow(name);
539 if (!counter_id)
545 strlcpy(impl_->counter_name(counter_id), counter_nam
[all...]
H A Dstats_table.h93 int* GetLocation(int counter_id, int slot_id) const;
167 // On success, returns the counter_id for the newly added counter.
H A Dstats_table_unittest.cc47 int counter_id = table.FindCounter(counter_name); local
48 EXPECT_GT(counter_id, 0);
56 int counter_id = table.FindCounter(counter_base_name); local
57 EXPECT_EQ(counter_id, 0);

Completed in 149 milliseconds