Home
last modified time | relevance | path

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

/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/xray/tests/unit/
H A Dfunction_call_trie_test.cc23 FunctionCallTrie::Allocators Allocators = FunctionCallTrie::InitAllocators(); in TEST()
24 FunctionCallTrie Trie(Allocators); in TEST()
29 auto A = FunctionCallTrie::InitAllocators(); in TEST()
30 FunctionCallTrie Trie(A); in TEST()
46 auto A = FunctionCallTrie::InitAllocators(); in TEST()
47 FunctionCallTrie Trie(A); in TEST()
61 auto A = FunctionCallTrie::InitAllocators(); in TEST()
62 FunctionCallTrie Trie(A); in TEST()
77 auto A = FunctionCallTrie::InitAllocators(); in TEST()
78 FunctionCallTrie Trie(A); in TEST()
[all …]
H A Dprofile_collector_test.cc117 FunctionCallTrie::Allocators::Buffers Buffers; in TEST()
123 auto Allocators = FunctionCallTrie::InitAllocatorsFromBuffers(Buffers); in TEST()
124 FunctionCallTrie T(Allocators); in TEST()
187 thread_local FunctionCallTrie::Allocators::Buffers Buffers = [] { in threadProcessing()
188 FunctionCallTrie::Allocators::Buffers B; in threadProcessing()
197 FunctionCallTrie::InitAllocatorsFromBuffers(Buffers); in threadProcessing()
199 FunctionCallTrie T(Allocators); in threadProcessing()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/xray/
H A Dxray_profiling.cc56 thread_local FunctionCallTrie::Allocators::Buffers ThreadBuffers;
57 thread_local std::aligned_storage<sizeof(FunctionCallTrie::Allocators),
58 alignof(FunctionCallTrie::Allocators)>::type
60 thread_local std::aligned_storage<sizeof(FunctionCallTrie),
61 alignof(FunctionCallTrie)>::type
129 new (&AllocatorsStorage) FunctionCallTrie::Allocators( in getThreadLocalData()
130 FunctionCallTrie::InitAllocatorsFromBuffers(ThreadBuffers)); in getThreadLocalData()
132 reinterpret_cast<FunctionCallTrie::Allocators *>(&AllocatorsStorage)); in getThreadLocalData()
142 FunctionCallTrie(*reinterpret_cast<FunctionCallTrie::Allocators *>( in getThreadLocalData()
145 reinterpret_cast<FunctionCallTrie *>(&FunctionCallTrieStorage)); in getThreadLocalData()
[all …]
H A Dxray_function_call_trie.h93 class FunctionCallTrie {
330 explicit FunctionCallTrie(const Allocators &A) XRAY_NEVER_INSTRUMENT in FunctionCallTrie() function
337 FunctionCallTrie() = delete;
338 FunctionCallTrie(const FunctionCallTrie &) = delete;
339 FunctionCallTrie &operator=(const FunctionCallTrie &) = delete;
341 FunctionCallTrie(FunctionCallTrie &&O) XRAY_NEVER_INSTRUMENT in FunctionCallTrie() function
348 FunctionCallTrie &operator=(FunctionCallTrie &&O) XRAY_NEVER_INSTRUMENT {
357 ~FunctionCallTrie() XRAY_NEVER_INSTRUMENT {} in ~FunctionCallTrie()
481 void deepCopyInto(FunctionCallTrie &O) const XRAY_NEVER_INSTRUMENT { in deepCopyInto()
487 FunctionCallTrie::Node *Node; in deepCopyInto()
[all …]
H A Dxray_profile_collector.cc33 typename std::aligned_storage<sizeof(FunctionCallTrie)>::type TrieStorage;
62 FunctionCallTrie::Allocators::Buffers Buffers;
63 FunctionCallTrie::Allocators Allocators;
64 FunctionCallTrie FCT;
109 void post(BufferQueue *Q, FunctionCallTrie &&T, in post()
110 FunctionCallTrie::Allocators &&A, in post()
111 FunctionCallTrie::Allocators::Buffers &&B, in post()
117 T.~FunctionCallTrie(); in post()
136 T.~FunctionCallTrie(); in post()
158 const FunctionCallTrie::Node *Node;
[all …]
H A Dxray_profile_collector.h40 void post(BufferQueue *Q, FunctionCallTrie &&T,
41 FunctionCallTrie::Allocators &&A,
42 FunctionCallTrie::Allocators::Buffers &&B, tid_t TId);