• Home
  • Raw
  • Download

Lines Matching refs:StackTrieNode

282 using StackTrieNode = TrieNode<StackDuration>;  typedef
285 static std::size_t GetValueForStack(const StackTrieNode *Node);
291 GetValueForStack<AggregationType::TOTAL_TIME>(const StackTrieNode *Node) { in GetValueForStack()
302 GetValueForStack<AggregationType::INVOCATION_COUNT>(const StackTrieNode *Node) { in GetValueForStack()
311 std::size_t GetValueForStack(const StackTrieNode *Node) { in GetValueForStack()
320 using RootVector = SmallVector<StackTrieNode *, 4>;
326 std::forward_list<StackTrieNode> NodeStore;
329 DenseMap<uint32_t, SmallVector<std::pair<StackTrieNode *, uint64_t>, 8>>
332 StackTrieNode *createTrieNode(uint32_t ThreadId, int32_t FuncId, in createTrieNode()
333 StackTrieNode *Parent) { in createTrieNode()
334 NodeStore.push_front(StackTrieNode{FuncId, Parent, {}, {{}, {}}}); in createTrieNode()
342 StackTrieNode *findRootNode(uint32_t ThreadId, int32_t FuncId) { in findRootNode()
345 [&](StackTrieNode *N) { return N->FuncId == FuncId; }); in findRootNode()
386 [&](StackTrieNode *N) { return N->FuncId == R.FuncId; }); in accountRecord()
418 reverse(TS), [&](const std::pair<StackTrieNode *, uint64_t> &E) { in accountRecord() argument
449 void printStack(raw_ostream &OS, const StackTrieNode *Top, in printStack()
453 SmallVector<const StackTrieNode *, 8> CurrentStack; in printStack()
523 RootVector mergeAcrossThreads(std::forward_list<StackTrieNode> &NodeStore) { in mergeAcrossThreads()
529 find_if(MergedByThreadRoots, [Node](StackTrieNode *elem) { in mergeAcrossThreads()
548 std::forward_list<StackTrieNode> AggregatedNodeStore; in printAllAggregatingThreads()
557 std::forward_list<StackTrieNode> AggregatedNodeStore; in printAggregatingThreads()
566 SmallVector<const StackTrieNode *, 16> S; in printAll()
587 const StackTrieNode *Node) { in printSingleStack()
590 SmallVector<const StackTrieNode *, 5> lineage{}; in printSingleStack()
610 SmallVector<std::pair<const StackTrieNode *, uint64_t>, 11> in print()
612 SmallVector<std::pair<const StackTrieNode *, uint64_t>, 11> TopStacksBySum; in print()
614 [](const std::pair<const StackTrieNode *, uint64_t> &A, in print()
615 const std::pair<const StackTrieNode *, uint64_t> &B) { in print() argument
620 SmallVector<const StackTrieNode *, 16> S; in print()