Searched refs:AllocationContextTracker (Results 1 – 8 of 8) sorted by relevance
44 using base::trace_event::AllocationContextTracker; in HeapProfilerScopedTaskExecutionTracker()45 if (UNLIKELY(AllocationContextTracker::capture_mode() != in HeapProfilerScopedTaskExecutionTracker()46 AllocationContextTracker::CaptureMode::DISABLED)) { in HeapProfilerScopedTaskExecutionTracker()47 AllocationContextTracker::GetInstanceForCurrentThread() in HeapProfilerScopedTaskExecutionTracker()53 using base::trace_event::AllocationContextTracker; in ~HeapProfilerScopedTaskExecutionTracker()54 if (UNLIKELY(AllocationContextTracker::capture_mode() != in ~HeapProfilerScopedTaskExecutionTracker()55 AllocationContextTracker::CaptureMode::DISABLED)) { in ~HeapProfilerScopedTaskExecutionTracker()56 AllocationContextTracker::GetInstanceForCurrentThread() in ~HeapProfilerScopedTaskExecutionTracker()68 using base::trace_event::AllocationContextTracker; in HeapProfilerScopedIgnore()70 AllocationContextTracker::capture_mode() != in HeapProfilerScopedIgnore()[all …]
23 subtle::Atomic32 AllocationContextTracker::capture_mode_ =24 static_cast<int32_t>(AllocationContextTracker::CaptureMode::DISABLED);30 AllocationContextTracker* const kInitializingSentinel =31 reinterpret_cast<AllocationContextTracker*>(-1);39 delete static_cast<AllocationContextTracker*>(alloc_ctx_tracker); in DestructAllocationContextTracker()68 AllocationContextTracker*69 AllocationContextTracker::GetInstanceForCurrentThread() { in GetInstanceForCurrentThread()70 AllocationContextTracker* tracker = in GetInstanceForCurrentThread()71 static_cast<AllocationContextTracker*>(g_tls_alloc_ctx_tracker.Get()); in GetInstanceForCurrentThread()77 tracker = new AllocationContextTracker(); in GetInstanceForCurrentThread()[all …]
34 AllocationContextTracker::GetInstanceForCurrentThread() in AssertBacktraceEquals()56 AllocationContextTracker::GetInstanceForCurrentThread() in AssertBacktraceContainsOnlyThreadName()68 AllocationContextTracker::SetCaptureMode( in SetUp()69 AllocationContextTracker::CaptureMode::PSEUDO_STACK); in SetUp()70 AllocationContextTracker::SetCurrentThreadName(kThreadName); in SetUp()74 AllocationContextTracker::SetCaptureMode( in TearDown()75 AllocationContextTracker::CaptureMode::DISABLED); in TearDown()226 AllocationContextTracker::GetInstanceForCurrentThread() in TEST_F()237 AllocationContextTracker::GetInstanceForCurrentThread() in TEST_F()252 AllocationContextTracker::GetInstanceForCurrentThread() in TEST_F()[all …]
25 class BASE_EXPORT AllocationContextTracker {56 static AllocationContextTracker* GetInstanceForCurrentThread();85 ~AllocationContextTracker();88 AllocationContextTracker();104 DISALLOW_COPY_AND_ASSIGN(AllocationContextTracker);
163 AllocationContextTracker::SetCaptureMode( in EnableHeapProfilingIfNeeded()164 AllocationContextTracker::CaptureMode::PSEUDO_STACK); in EnableHeapProfilingIfNeeded()171 AllocationContextTracker::SetCaptureMode( in EnableHeapProfilingIfNeeded()172 AllocationContextTracker::CaptureMode::NATIVE_STACK); in EnableHeapProfilingIfNeeded()
1350 if (AllocationContextTracker::capture_mode() == in AddTraceEventWithThreadIdAndTimestamp()1351 AllocationContextTracker::CaptureMode::PSEUDO_STACK) { in AddTraceEventWithThreadIdAndTimestamp()1354 AllocationContextTracker::GetInstanceForCurrentThread() in AddTraceEventWithThreadIdAndTimestamp()1359 AllocationContextTracker::GetInstanceForCurrentThread() in AddTraceEventWithThreadIdAndTimestamp()1485 if (AllocationContextTracker::capture_mode() == in UpdateTraceEventDuration()1486 AllocationContextTracker::CaptureMode::PSEUDO_STACK) { in UpdateTraceEventDuration()1488 AllocationContextTracker::GetInstanceForCurrentThread() in UpdateTraceEventDuration()
233 auto* tracker = AllocationContextTracker::GetInstanceForCurrentThread(); in InsertAllocation()
83 trace_event::AllocationContextTracker::SetCurrentThreadName( in SetName()