Searched refs:g_subsampling_always_sample (Results 1 – 1 of 1) sorted by relevance
26 std::atomic<bool> g_subsampling_always_sample = false; variable171 if (g_subsampling_always_sample.load(std::memory_order_relaxed)) { in ShouldSample()183 DCHECK(!g_subsampling_always_sample.load(std::memory_order_relaxed)); in ScopedAlwaysSampleForTesting()185 g_subsampling_always_sample.store(true, std::memory_order_relaxed); in ScopedAlwaysSampleForTesting()190 DCHECK(g_subsampling_always_sample.load(std::memory_order_relaxed)); in ~ScopedAlwaysSampleForTesting()192 g_subsampling_always_sample.store(false, std::memory_order_relaxed); in ~ScopedAlwaysSampleForTesting()196 DCHECK(!g_subsampling_always_sample.load(std::memory_order_relaxed)); in ScopedNeverSampleForTesting()202 DCHECK(!g_subsampling_always_sample); in ~ScopedNeverSampleForTesting()