Home
last modified time | relevance | path

Searched refs:not_owned_sub_size (Results 1 – 3 of 3) sorted by relevance

/external/perfetto/src/trace_processor/importers/memory_tracker/
Dgraph_processor.cc653 node->add_not_owned_sub_size(child->not_owned_sub_size()); in CalculateNodeSubSizes()
735 uint64_t not_owned_sub_size = node->not_owned_sub_size(); in CalculateNodeOwnershipCoefficient() local
736 if (not_owned_sub_size != 0) { in CalculateNodeOwnershipCoefficient()
738 static_cast<double>(not_owned_sub_size - already_attributed_sub_size); in CalculateNodeOwnershipCoefficient()
740 static_cast<double>(not_owned_sub_size)); in CalculateNodeOwnershipCoefficient()
Dgraph_processor_unittest.cc552 ASSERT_EQ(child_1->not_owned_sub_size(), 4ul); in TEST_F()
555 ASSERT_EQ(child_2->not_owned_sub_size(), 5ul); in TEST_F()
560 ASSERT_EQ(parent_1->not_owned_sub_size(), 4ul); in TEST_F()
563 ASSERT_EQ(parent_2->not_owned_sub_size(), 5ul); in TEST_F()
568 ASSERT_EQ(process_1->root()->not_owned_sub_size(), 4ul); in TEST_F()
571 ASSERT_EQ(process_2->root()->not_owned_sub_size(), 1ul); in TEST_F()
/external/perfetto/include/perfetto/ext/trace_processor/importers/memory_tracker/
Dgraph.h145 uint64_t not_owned_sub_size() const { return not_owned_sub_size_; } in not_owned_sub_size() function