Lines Matching refs:TLD
62 thread_local ProfilingData TLD{{0}, {0}}; variable
76 pthread_setspecific(ProfilingKey, &TLD); in getThreadLocalData()
89 if (atomic_compare_exchange_strong(&TLD.Allocators, &Allocators, 1, in getThreadLocalData()
94 atomic_store(&TLD.Allocators, 0, memory_order_release); in getThreadLocalData()
132 atomic_store(&TLD.Allocators, Allocators, memory_order_release); in getThreadLocalData()
139 if (atomic_compare_exchange_strong(&TLD.FCT, &FCT, 1, memory_order_acq_rel)) { in getThreadLocalData()
142 atomic_load_relaxed(&TLD.Allocators))); in getThreadLocalData()
145 atomic_store(&TLD.FCT, FCT, memory_order_release); in getThreadLocalData()
151 return &TLD; in getThreadLocalData()
155 auto FCT = atomic_exchange(&TLD.FCT, 0, memory_order_acq_rel); in cleanupTLD()
160 auto Allocators = atomic_exchange(&TLD.Allocators, 0, memory_order_acq_rel); in cleanupTLD()
286 postCurrentThreadFCT(TLD); in profilingHandleArg0()
341 postCurrentThreadFCT(TLD); in profilingFinalize()