Home
last modified time | relevance | path

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

/external/perfetto/src/trace_processor/importers/memory_tracker/
Dgraph_processor_unittest.cc167 global_node->AddEntry("size", Node::Entry::ScalarUnits::kBytes, 100); in TEST_F()
187 global_node->AddEntry("size", Node::Entry::ScalarUnits::kBytes, 100); in TEST_F()
402 c1->AddEntry("random_numeric", Node::Entry::ScalarUnits::kBytes, 100); in TEST_F()
403 c2->AddEntry("random_numeric", Node::Entry::ScalarUnits::kBytes, 256); in TEST_F()
404 c3->AddEntry("other_numeric", Node::Entry::ScalarUnits::kBytes, 1000); in TEST_F()
409 ASSERT_EQ(entry.units, Node::Entry::ScalarUnits::kBytes); in TEST_F()
424 c1->AddEntry("random_numeric", Node::Entry::ScalarUnits::kBytes, 100); in TEST_F()
425 c2->AddEntry("random_numeric", Node::Entry::ScalarUnits::kBytes, 256); in TEST_F()
426 c2_c1->AddEntry("random_numeric", Node::Entry::ScalarUnits::kBytes, 256); in TEST_F()
427 c2_c2->AddEntry("random_numeric", Node::Entry::ScalarUnits::kBytes, 256); in TEST_F()
[all …]
Dgraph_processor.cc34 Node::Entry::ScalarUnits EntryUnitsFromString(const std::string& units) { in EntryUnitsFromString()
36 return Node::Entry::ScalarUnits::kBytes; in EntryUnitsFromString()
38 return Node::Entry::ScalarUnits::kObjects; in EntryUnitsFromString()
41 return Node::Entry::ScalarUnits::kObjects; in EntryUnitsFromString()
51 PERFETTO_DCHECK(size_it->second.units == Node::Entry::ScalarUnits::kBytes); in GetSizeEntryOfNode()
472 Node::Entry::ScalarUnits units = Node::Entry::ScalarUnits::kObjects; in AggregateNumericWithNameForNode()
611 node->AddEntry(kSizeEntryName, Node::Entry::ScalarUnits::kBytes, in CalculateSizeForNode()
619 unspecified->AddEntry(kSizeEntryName, Node::Entry::ScalarUnits::kBytes, in CalculateSizeForNode()
796 node->AddEntry(kEffectiveSizeEntryName, Node::Entry::ScalarUnits::kBytes, in CalculateNodeEffectiveSize()
Dgraph.cc168 Node::Entry::ScalarUnits units, in AddEntry()
177 Node::Entry::Entry(Entry::ScalarUnits units2, uint64_t value) in Entry()
182 units(Node::Entry::ScalarUnits::kObjects), in Entry()
Dgraph_unittest.cc219 node.AddEntry("scalar", Node::Entry::ScalarUnits::kBytes, 100ul); in TEST()
227 ASSERT_EQ(scalar->second.units, Node::Entry::ScalarUnits::kBytes); in TEST()
/external/perfetto/include/perfetto/ext/trace_processor/importers/memory_tracker/
Dgraph.h91 enum ScalarUnits { enum
97 Entry(ScalarUnits units, uint64_t value);
101 const ScalarUnits units;
130 Entry::ScalarUnits units,