Home
last modified time | relevance | path

Searched refs:counter_table (Results 1 – 6 of 6) sorted by relevance

/external/perfetto/src/trace_processor/importers/common/
Devent_tracker_unittest.cc61 ASSERT_EQ(context.storage->counter_table().row_count(), 4ul); in TEST_F()
62 ASSERT_EQ(context.storage->counter_table().ts()[0], timestamp); in TEST_F()
63 ASSERT_DOUBLE_EQ(context.storage->counter_table().value()[0], 1000); in TEST_F()
65 ASSERT_EQ(context.storage->counter_table().ts()[1], timestamp + 1); in TEST_F()
66 ASSERT_DOUBLE_EQ(context.storage->counter_table().value()[1], 4000); in TEST_F()
68 ASSERT_EQ(context.storage->counter_table().ts()[2], timestamp + 3); in TEST_F()
69 ASSERT_DOUBLE_EQ(context.storage->counter_table().value()[2], 5000); in TEST_F()
Devent_tracker.cc46 pending.row = *context_->storage->counter_table().id().IndexOf(*opt_id); in PushProcessCounterForThread()
/external/bcc/tests/cc/
Dtest_perf_event.cc79 auto counter_table = variable
81 auto counter = counter_table[0];
129 auto counter_table = variable
131 auto counter = counter_table[0];
/external/perfetto/src/trace_processor/
Dexport_json.cc1846 const auto& counter_table = storage_->counter_table(); in GetCounterValue() local
1847 auto begin = counter_table.ts().begin(); in GetCounterValue()
1848 auto end = counter_table.ts().end(); in GetCounterValue()
1849 PERFETTO_DCHECK(counter_table.ts().IsSorted() && in GetCounterValue()
1850 counter_table.ts().IsColumnType<int64_t>()); in GetCounterValue()
1861 if (counter_table.track_id()[it.row()].value == track_id.value) in GetCounterValue()
1862 return static_cast<uint64_t>(counter_table.value()[it.row()]); in GetCounterValue()
Dtrace_processor_impl.cc743 new ExperimentalCounterDurGenerator(storage->counter_table()))); in TraceProcessorImpl()
790 RegisterDbTable(storage->counter_table()); in TraceProcessorImpl()
/external/perfetto/src/trace_processor/storage/
Dtrace_storage.h422 const tables::CounterTable& counter_table() const { return counter_table_; } in counter_table() function