Home
last modified time | relevance | path

Searched refs:GetSizeForTesting (Results 1 – 5 of 5) sorted by relevance

/external/perfetto/src/profiling/memory/
Dbookkeeping_unittest.cc116 ASSERT_EQ(hd.GetSizeForTesting(stack(), DummyBuildIds(stack().size())), 5u); in TEST()
117 ASSERT_EQ(hd.GetSizeForTesting(stack2(), DummyBuildIds(stack2().size())), 2u); in TEST()
121 ASSERT_EQ(hd.GetSizeForTesting(stack(), DummyBuildIds(stack().size())), 5u); in TEST()
122 ASSERT_EQ(hd.GetSizeForTesting(stack2(), DummyBuildIds(stack2().size())), 0u); in TEST()
126 ASSERT_EQ(hd.GetSizeForTesting(stack(), DummyBuildIds(stack().size())), 0u); in TEST()
127 ASSERT_EQ(hd.GetSizeForTesting(stack2(), DummyBuildIds(stack2().size())), 0u); in TEST()
198 ASSERT_EQ(hd2.GetSizeForTesting(stack(), DummyBuildIds(stack().size())), in TEST()
200 ASSERT_EQ(hd.GetSizeForTesting(stack(), DummyBuildIds(stack().size())), 5u); in TEST()
203 ASSERT_EQ(hd.GetSizeForTesting(stack(), DummyBuildIds(stack().size())), 5u); in TEST()
217 EXPECT_EQ(hd.GetSizeForTesting(stack(), DummyBuildIds(stack().size())), 0u); in TEST()
[all …]
Dbookkeeping.cc138 uint64_t HeapTracker::GetSizeForTesting( in GetSizeForTesting() function in perfetto::profiling::HeapTracker
Dbookkeeping.h199 uint64_t GetSizeForTesting(const std::vector<unwindstack::FrameData>& stack,
/external/perfetto/src/base/
Dmetatrace_unittest.cc54 ASSERT_EQ(m::RingBuffer::GetSizeForTesting(), 0u); in TEST_F()
59 ASSERT_EQ(m::RingBuffer::GetSizeForTesting(), 0u); in TEST_F()
145 ASSERT_EQ(m::RingBuffer::GetSizeForTesting(), m::RingBuffer::kCapacity); in TEST_F()
152 ASSERT_EQ(m::RingBuffer::GetSizeForTesting(), m::RingBuffer::kCapacity); in TEST_F()
157 ASSERT_EQ(m::RingBuffer::GetSizeForTesting(), 0u); in TEST_F()
246 ASSERT_EQ(m::RingBuffer::GetSizeForTesting(), m::RingBuffer::kCapacity); in TEST_F()
/external/perfetto/include/perfetto/ext/base/
Dmetatrace.h238 static uint64_t GetSizeForTesting() { in GetSizeForTesting() function