Home
last modified time | relevance | path

Searched refs:pmd2 (Results 1 – 2 of 2) sorted by relevance

/external/perfetto/src/trace_processor/importers/memory_tracker/
Draw_process_memory_node_unittest.cc57 RawProcessMemoryNode pmd2(std::move(pmd1)); in TEST() local
59 EXPECT_EQ(1u, pmd2.allocator_nodes().count("mad1")); in TEST()
60 EXPECT_EQ(1u, pmd2.allocator_nodes().count("mad2")); in TEST()
61 EXPECT_EQ(LevelOfDetail::kDetailed, pmd2.level_of_detail()); in TEST()
62 EXPECT_EQ(1u, pmd2.allocator_nodes_edges().size()); in TEST()
87 RawProcessMemoryNode pmd2(LevelOfDetail::kBackground); in TEST() local
89 pmd2 = std::move(pmd1); in TEST()
90 EXPECT_EQ(1u, pmd2.allocator_nodes().count("mad1")); in TEST()
91 EXPECT_EQ(1u, pmd2.allocator_nodes().count("mad2")); in TEST()
92 EXPECT_EQ(0u, pmd2.allocator_nodes().count("mad3")); in TEST()
[all …]
/external/libchrome/base/trace_event/
Dprocess_memory_dump_unittest.cc70 ProcessMemoryDump pmd2(std::move(pmd1)); in TEST() local
72 EXPECT_EQ(1u, pmd2.allocator_dumps().count("mad1")); in TEST()
73 EXPECT_EQ(1u, pmd2.allocator_dumps().count("mad2")); in TEST()
75 pmd2.dump_args().level_of_detail); in TEST()
76 EXPECT_EQ(1u, pmd2.allocator_dumps_edges().size()); in TEST()
80 pmd2.SerializeAllocatorDumpsInto(traced_value.get()); in TEST()
90 ProcessMemoryDump pmd2({MemoryDumpLevelOfDetail::BACKGROUND}); in TEST() local
91 pmd2.CreateAllocatorDump("malloc"); in TEST()
93 pmd2 = std::move(pmd1); in TEST()
94 EXPECT_EQ(1u, pmd2.allocator_dumps().count("mad1")); in TEST()
[all …]