Home
last modified time | relevance | path

Searched refs:AllocationContextTracker (Results 1 – 6 of 6) sorted by relevance

/external/libchrome/base/trace_event/
Dheap_profiler_allocation_context_tracker.cc17 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::AllocationContextTracker
32 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 …]
Dheap_profiler_allocation_context_tracker.h24 class BASE_EXPORT AllocationContextTracker {
55 ~AllocationContextTracker();
58 AllocationContextTracker();
60 static AllocationContextTracker* GetThreadLocalTracker();
67 DISALLOW_COPY_AND_ASSIGN(AllocationContextTracker);
Dheap_profiler_allocation_context_tracker_unittest.cc30 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()
Dheap_profiler_allocation_context.h68 friend class AllocationContextTracker;
Dtrace_log.cc1326 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()
Dmemory_dump_manager.cc138 AllocationContextTracker::SetCaptureEnabled(true); in MemoryDumpManager()