Home
last modified time | relevance | path

Searched refs:AllocationContext (Results 1 – 8 of 8) sorted by relevance

/external/libchrome/base/trace_event/
Dheap_profiler_allocation_context.cc38 AllocationContext::AllocationContext(): type_name(nullptr) {} in AllocationContext() function in base::trace_event::AllocationContext
40 AllocationContext::AllocationContext(const Backtrace& backtrace, in AllocationContext() function in base::trace_event::AllocationContext
44 bool operator==(const AllocationContext& lhs, const AllocationContext& rhs) { in operator ==()
48 bool operator!=(const AllocationContext& lhs, const AllocationContext& rhs) { in operator !=()
57 using base::trace_event::AllocationContext;
73 size_t hash<AllocationContext>::operator()(const AllocationContext& ctx) const { in operator ()()
Dheap_profiler_allocation_context.h86 struct BASE_EXPORT AllocationContext { struct
87 AllocationContext();
88 AllocationContext(const Backtrace& backtrace, const char* type_name);
99 bool BASE_EXPORT operator==(const AllocationContext& lhs, argument
100 const AllocationContext& rhs);
101 bool BASE_EXPORT operator!=(const AllocationContext& lhs,
102 const AllocationContext& rhs);
126 struct BASE_EXPORT hash<base::trace_event::AllocationContext> {
127 size_t operator()(const base::trace_event::AllocationContext& context) const;
Dheap_profiler_allocation_context_tracker_unittest.cc48 AllocationContext ctx; in AssertBacktraceEquals()
70 AllocationContext ctx; in AssertBacktraceContainsOnlyThreadName()
294 AllocationContext ctx; in TEST_F()
305 AllocationContext ctx; in TEST_F()
320 AllocationContext ctx1; in TEST_F()
327 AllocationContext ctx2; in TEST_F()
334 AllocationContext ctx; in TEST_F()
344 AllocationContext ctx; in TEST_F()
Dheap_profiler_allocation_context_tracker.h113 bool GetContextSnapshot(AllocationContext* snapshot);
Dprocess_memory_dump.h154 const std::unordered_map<base::trace_event::AllocationContext,
Dheap_profiler_allocation_context_tracker.cc174 bool AllocationContextTracker::GetContextSnapshot(AllocationContext* ctx) { in GetContextSnapshot()
Dprocess_memory_dump_unittest.cc156 std::unordered_map<AllocationContext, AllocationMetrics> metrics_by_context; in TEST()
157 metrics_by_context[AllocationContext()] = {1, 1}; in TEST()
Dprocess_memory_dump.cc314 const std::unordered_map<base::trace_event::AllocationContext, in DumpHeapUsage() argument