Searched refs:thread_stack (Results 1 – 2 of 2) sorted by relevance
68 for (detail::ThreadStack* thread_stack : *thread_stacks) { in ThreadFunc()69 Sample(*thread_stack); in ThreadFunc()74 void ScopeProfile::Sample(const detail::ThreadStack& thread_stack) { in Sample() argument75 std::lock_guard<std::mutex> lock(thread_stack.Mutex()); in Sample()78 if (thread_stack.stack().size == 0) { in Sample()81 int sample_size = detail::GetBufferSize(thread_stack.stack()); in Sample()84 detail::CopyToBuffer(thread_stack.stack(), in Sample()
86 thread_local static ThreadStack thread_stack; in ThreadLocalThreadStack() local87 return &thread_stack; in ThreadLocalThreadStack()
Completed in 10 milliseconds