Home
last modified time | relevance | path

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

/external/libchrome/base/trace_event/
Dheap_profiler_allocation_context_tracker.h27 enum class CaptureMode: int32_t { enum
35 static void SetCaptureMode(CaptureMode mode);
38 inline static CaptureMode capture_mode() { in capture_mode()
43 static_cast<int32_t>(CaptureMode::DISABLED)) in capture_mode()
44 return CaptureMode::DISABLED; in capture_mode()
50 return static_cast<CaptureMode>(subtle::Acquire_Load(&capture_mode_)); in capture_mode()
Dheap_profiler_allocation_context_tracker.cc24 static_cast<int32_t>(AllocationContextTracker::CaptureMode::DISABLED);
93 if (name && capture_mode() != CaptureMode::DISABLED) { in SetCurrentThreadName()
99 void AllocationContextTracker::SetCaptureMode(CaptureMode mode) { in SetCaptureMode()
102 if (mode != CaptureMode::DISABLED && !g_tls_alloc_ctx_tracker.initialized()) in SetCaptureMode()
168 CaptureMode mode = static_cast<CaptureMode>( in GetContextSnapshot()
190 case CaptureMode::DISABLED: in GetContextSnapshot()
194 case CaptureMode::PSEUDO_STACK: in GetContextSnapshot()
204 case CaptureMode::NATIVE_STACK: in GetContextSnapshot()
Dheap_profiler.h46 AllocationContextTracker::CaptureMode::DISABLED)) { in HeapProfilerScopedTaskExecutionTracker()
55 AllocationContextTracker::CaptureMode::DISABLED)) { in ~HeapProfilerScopedTaskExecutionTracker()
71 AllocationContextTracker::CaptureMode::DISABLED)) { in HeapProfilerScopedIgnore()
80 AllocationContextTracker::CaptureMode::DISABLED)) { in ~HeapProfilerScopedIgnore()
Dheap_profiler_allocation_context_tracker_unittest.cc69 AllocationContextTracker::CaptureMode::PSEUDO_STACK); in SetUp()
75 AllocationContextTracker::CaptureMode::DISABLED); in TearDown()
Dmemory_dump_manager.cc164 AllocationContextTracker::CaptureMode::PSEUDO_STACK); in EnableHeapProfilingIfNeeded()
172 AllocationContextTracker::CaptureMode::NATIVE_STACK); in EnableHeapProfilingIfNeeded()
Dtrace_log.cc1351 AllocationContextTracker::CaptureMode::PSEUDO_STACK) { in AddTraceEventWithThreadIdAndTimestamp()
1486 AllocationContextTracker::CaptureMode::PSEUDO_STACK) { in UpdateTraceEventDuration()