Searched refs:AllocationContextTracker (Results 1 – 6 of 6) sorted by relevance
17 subtle::Atomic32 AllocationContextTracker::capture_enabled_ = 0;26 delete static_cast<AllocationContextTracker*>(alloc_ctx_tracker); in DestructAllocationContextTracker()31 AllocationContextTracker::AllocationContextTracker() {} in AllocationContextTracker() function in base::trace_event::AllocationContextTracker32 AllocationContextTracker::~AllocationContextTracker() {} in ~AllocationContextTracker()35 AllocationContextTracker* AllocationContextTracker::GetThreadLocalTracker() { in GetThreadLocalTracker()37 static_cast<AllocationContextTracker*>(g_tls_alloc_ctx_tracker.Get()); in GetThreadLocalTracker()40 tracker = new AllocationContextTracker(); in GetThreadLocalTracker()48 void AllocationContextTracker::SetCaptureEnabled(bool enabled) { in SetCaptureEnabled()60 void AllocationContextTracker::PushPseudoStackFrame(StackFrame frame) { in PushPseudoStackFrame()61 auto tracker = AllocationContextTracker::GetThreadLocalTracker(); in PushPseudoStackFrame()[all …]
24 class BASE_EXPORT AllocationContextTracker {55 ~AllocationContextTracker();58 AllocationContextTracker();60 static AllocationContextTracker* GetThreadLocalTracker();67 DISALLOW_COPY_AND_ASSIGN(AllocationContextTracker);
30 AllocationContext ctx = AllocationContextTracker::GetContextSnapshot(); in AssertBacktraceEquals()49 AllocationContext ctx = AllocationContextTracker::GetContextSnapshot(); in AssertBacktraceEmpty()60 AllocationContextTracker::SetCaptureEnabled(true); in SetUp()64 AllocationContextTracker::SetCaptureEnabled(false); in TearDown()210 AllocationContext ctx = AllocationContextTracker::GetContextSnapshot(); in TEST_F()218 AllocationContext ctx = AllocationContextTracker::GetContextSnapshot(); in TEST_F()
68 friend class AllocationContextTracker;
1326 if (base::trace_event::AllocationContextTracker::capture_enabled()) { in AddTraceEventWithThreadIdAndTimestamp()1328 base::trace_event::AllocationContextTracker::PushPseudoStackFrame(name); in AddTraceEventWithThreadIdAndTimestamp()1332 base::trace_event::AllocationContextTracker::PopPseudoStackFrame(name); in AddTraceEventWithThreadIdAndTimestamp()1449 if (base::trace_event::AllocationContextTracker::capture_enabled()) { in UpdateTraceEventDuration()1451 base::trace_event::AllocationContextTracker::PopPseudoStackFrame(name); in UpdateTraceEventDuration()
138 AllocationContextTracker::SetCaptureEnabled(true); in MemoryDumpManager()