Searched refs:c1_c2 (Results 1 – 1 of 1) sorted by relevance
/external/perfetto/src/trace_processor/importers/memory_tracker/ |
D | graph_processor_unittest.cc | 615 Node* c1_c2 = process->CreateNode(kEmptyId, "c1/c2", false); in TEST_F() local 618 graph.AddNodeOwnershipEdge(c1_c2, owned, 2); in TEST_F() 622 c1_c2->AddEntry("size", Node::Entry::kBytes, 10); in TEST_F() 634 c1_c2->set_owning_coefficient(0.135); in TEST_F() 635 c1_c2->set_owned_coefficient(0.246); in TEST_F() 642 CalculateNodeCumulativeOwnershipCoefficient(c1_c2); in TEST_F() 643 ASSERT_DOUBLE_EQ(c1_c2->cumulative_owning_coefficient(), 0.135 * 0.789); in TEST_F() 644 ASSERT_DOUBLE_EQ(c1_c2->cumulative_owned_coefficient(), 0.456 * 0.246); in TEST_F() 652 Node* c1_c2 = process->CreateNode(kEmptyId, "c1/c2", false); in TEST_F() local 657 c1_c2->AddEntry("size", Node::Entry::kBytes, 20); in TEST_F() [all …]
|