Home
last modified time | relevance | path

Searched refs:thread_stack (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/ruy/profiler/
A Dprofiler.cc68 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() argument
75 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()
A Dinstrumentation.cc86 thread_local static ThreadStack thread_stack; in ThreadLocalThreadStack() local
87 return &thread_stack; in ThreadLocalThreadStack()

Completed in 10 milliseconds