Searched refs:g_subsampling_never_sample (Results 1 – 1 of 1) sorted by relevance
27 std::atomic<bool> g_subsampling_never_sample = false; variable174 if (g_subsampling_never_sample.load(std::memory_order_relaxed)) { in ShouldSample()184 DCHECK(!g_subsampling_never_sample.load(std::memory_order_relaxed)); in ScopedAlwaysSampleForTesting()191 DCHECK(!g_subsampling_never_sample.load(std::memory_order_relaxed)); in ~ScopedAlwaysSampleForTesting()197 DCHECK(!g_subsampling_never_sample.load(std::memory_order_relaxed)); in ScopedNeverSampleForTesting()198 g_subsampling_never_sample.store(true, std::memory_order_relaxed); in ScopedNeverSampleForTesting()203 DCHECK(g_subsampling_never_sample); in ~ScopedNeverSampleForTesting()204 g_subsampling_never_sample.store(false, std::memory_order_relaxed); in ~ScopedNeverSampleForTesting()