Searched refs:valid_instances (Results 1 – 5 of 5) sorted by relevance
143 std::atomic<uint32_t> valid_instances{};158 return TryGetCached(valid_instances.load(std::memory_order_acquire), n); in TryGet()162 static_assert(sizeof(valid_instances.load()) * 8 >= kMaxDataSourceInstances, in CompilerAsserts()169 valid_instances.store(0, std::memory_order_release); in ResetForTesting()
208 std::atomic<uint32_t>* valid_instances() { return &state_.valid_instances; } in valid_instances() function
163 return s->valid_instances(); in GetActiveInstances()369 ds_impl->cpp_type.valid_instances()->load(std::memory_order_relaxed); in PerfettoDsImplTraceIterateBegin()
476 return Helper::type().valid_instances(); in GetActiveInstances()
1321 static_state.valid_instances.load(std::memory_order_acquire) != 0) { in SetupDataSourceImpl()1392 static_state.valid_instances.fetch_or(1 << i, std::memory_order_release); in SetupDataSourceImpl()1572 ds.static_state->valid_instances.fetch_and(mask, std::memory_order_acq_rel); in StopDataSource_AsyncEnd()