Searched refs:c1_c1 (Results 1 – 1 of 1) sorted by relevance
/external/perfetto/src/trace_processor/importers/memory_tracker/ |
D | graph_processor_unittest.cc | 614 Node* c1_c1 = process->CreateNode(kEmptyId, "c1/c1", false); in TEST_F() local 621 c1_c1->AddEntry("size", Node::Entry::kBytes, 10); in TEST_F() 632 c1_c1->set_owning_coefficient(0.654); in TEST_F() 633 c1_c1->set_owned_coefficient(0.321); in TEST_F() 638 CalculateNodeCumulativeOwnershipCoefficient(c1_c1); in TEST_F() 639 ASSERT_DOUBLE_EQ(c1_c1->cumulative_owning_coefficient(), 0.123); in TEST_F() 640 ASSERT_DOUBLE_EQ(c1_c1->cumulative_owned_coefficient(), 0.456 * 0.321); in TEST_F() 651 Node* c1_c1 = process->CreateNode(kEmptyId, "c1/c1", false); in TEST_F() local 656 c1_c1->AddEntry("size", Node::Entry::kBytes, 32); in TEST_F() 660 c1_c1->set_cumulative_owning_coefficient(0.123); in TEST_F() [all …]
|