Lines Matching defs:TLD
59 thread_local ProfilingData TLD{{0}, {0}};
73 pthread_setspecific(ProfilingKey, &TLD);
86 if (atomic_compare_exchange_strong(&TLD.Allocators, &Allocators, 1,
91 atomic_store(&TLD.Allocators, 0, memory_order_release);
129 atomic_store(&TLD.Allocators, Allocators, memory_order_release);
136 if (atomic_compare_exchange_strong(&TLD.FCT, &FCT, 1, memory_order_acq_rel)) {
139 atomic_load_relaxed(&TLD.Allocators)));
142 atomic_store(&TLD.FCT, FCT, memory_order_release);
148 return &TLD;
152 auto FCT = atomic_exchange(&TLD.FCT, 0, memory_order_acq_rel);
157 auto Allocators = atomic_exchange(&TLD.Allocators, 0, memory_order_acq_rel);
283 postCurrentThreadFCT(TLD);
338 postCurrentThreadFCT(TLD);