Home
last modified time | relevance | path

Searched refs:ThreadStack (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/llvm/tools/llvm-xray/
Dxray-account.cpp168 auto &ThreadStack = PerThreadFunctionStack[Record.TId]; in accountRecord() local
169 if (RecursiveCallsOnly && !ThreadStack.RecursionDepth) in accountRecord()
170 ThreadStack.RecursionDepth.emplace(); in accountRecord()
178 ThreadStack.Stack.emplace_back(Record.FuncId, Record.TSC); in accountRecord()
179 if (ThreadStack.RecursionDepth) in accountRecord()
180 ++(*ThreadStack.RecursionDepth)[Record.FuncId]; in accountRecord()
185 if (ThreadStack.Stack.empty()) in accountRecord()
188 if (ThreadStack.Stack.back().first == Record.FuncId) { in accountRecord()
189 const auto &Top = ThreadStack.Stack.back(); in accountRecord()
190 if (!ThreadStack.RecursionDepth || in accountRecord()
[all …]
Dxray-graph.cpp218 auto &ThreadStack = PerThreadFunctionStack[Record.TId]; in accountRecord() local
224 ThreadStack.push_back({Record.FuncId, Record.TSC}); in accountRecord()
231 if (ThreadStack.size() == 0 || ThreadStack.back().FuncId != Record.FuncId) { in accountRecord()
236 ThreadStack.rbegin(), ThreadStack.rend(), in accountRecord()
238 if (Parent == ThreadStack.rend()) in accountRecord()
243 while (ThreadStack.back().FuncId != Record.FuncId) { in accountRecord()
244 TimestampT D = diff(ThreadStack.back().TSC, Record.TSC); in accountRecord()
245 VertexIdentifier TopFuncId = ThreadStack.back().FuncId; in accountRecord()
246 ThreadStack.pop_back(); in accountRecord()
247 assert(ThreadStack.size() != 0); in accountRecord()
[all …]
/external/ruy/ruy/profiler/
Dinstrumentation.cc80 std::vector<ThreadStack*>* GlobalAllThreadStacks() { in GlobalAllThreadStacks()
81 static std::vector<ThreadStack*> all_stacks; in GlobalAllThreadStacks()
85 ThreadStack* ThreadLocalThreadStack() { in ThreadLocalThreadStack()
86 thread_local static ThreadStack thread_stack; in ThreadLocalThreadStack()
90 ThreadStack::ThreadStack() { in ThreadStack() function in ruy::profiler::detail::ThreadStack
97 ThreadStack::~ThreadStack() { in ~ThreadStack()
99 std::vector<ThreadStack*>* all_stacks = GlobalAllThreadStacks(); in ~ThreadStack()
Dinstrumentation.h76 class ThreadStack; variable
82 std::vector<ThreadStack*>* GlobalAllThreadStacks();
88 ThreadStack* ThreadLocalThreadStack();
114 class ThreadStack {
116 ThreadStack();
117 ~ThreadStack();
183 detail::ThreadStack* thread_stack_;
Dprofiler.cc68 for (detail::ThreadStack* thread_stack : *thread_stacks) { in ThreadFunc()
74 void ScopeProfile::Sample(const detail::ThreadStack& thread_stack) { in Sample()
Dprofiler.h60 void Sample(const detail::ThreadStack& stack);
/external/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/
Djitprofiling.c97 } ThreadStack, *pThreadStack; typedef
179 threadStack = (pThreadStack) calloc (sizeof(ThreadStack), 1); in iJIT_NotifyEvent()
/external/llvm/lib/ExecutionEngine/IntelJITEvents/
Djitprofiling.c99 } ThreadStack, *pThreadStack; typedef
181 threadStack = (pThreadStack) calloc (sizeof(ThreadStack), 1); in iJIT_NotifyEvent()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/IntelJITEvents/
Djitprofiling.c97 } ThreadStack, *pThreadStack; typedef
179 threadStack = (pThreadStack) calloc (sizeof(ThreadStack), 1); in iJIT_NotifyEvent()