Searched refs:ProfilingStateFlag (Results 1 – 3 of 3) sorted by relevance
133 using ProfilingStateFlag = PoissonAllocationSampler::ProfilingStateFlag; typedef in base::PoissonAllocationSamplerStateTest242 EXPECT_TRUE(HasAllStateFlags(ProfilingStateFlag::kIsRunning | in AddSamplesObservers()243 ProfilingStateFlag::kWasStarted)); in AddSamplesObservers()245 EXPECT_TRUE(HasAllStateFlags(ProfilingStateFlag::kIsRunning | in AddSamplesObservers()246 ProfilingStateFlag::kWasStarted)); in AddSamplesObservers()256 EXPECT_TRUE(HasAllStateFlags(ProfilingStateFlag::kIsRunning | in RemoveSamplesObservers()257 ProfilingStateFlag::kWasStarted)); in RemoveSamplesObservers()259 EXPECT_TRUE(HasAllStateFlags(ProfilingStateFlag::kIsRunning | in RemoveSamplesObservers()260 ProfilingStateFlag::kWasStarted)); in RemoveSamplesObservers()262 EXPECT_TRUE(HasAllStateFlags(ProfilingStateFlag::kWasStarted)); in RemoveSamplesObservers()[all …]
161 SetProfilingStateFlag(ProfilingStateFlag::kHookedSamplesMutedForTesting); in ScopedMuteHookedSamplesForTesting()174 ResetProfilingStateFlag(ProfilingStateFlag::kHookedSamplesMutedForTesting); in ~ScopedMuteHookedSamplesForTesting()275 if (UNLIKELY(!(state & ProfilingStateFlag::kIsRunning))) { in DoRecordAllocation()394 void PoissonAllocationSampler::SetProfilingStateFlag(ProfilingStateFlag flag) { in SetProfilingStateFlag()396 if (flag == ProfilingStateFlag::kIsRunning) { in SetProfilingStateFlag()397 flags |= ProfilingStateFlag::kWasStarted; in SetProfilingStateFlag()406 ProfilingStateFlag flag) { in ResetProfilingStateFlag()433 SetProfilingStateFlag(ProfilingStateFlag::kIsRunning); in AddSamplesObserver()436 ProfilingStateFlag::kIsRunning); in AddSamplesObserver()456 ProfilingStateFlag::kIsRunning); in RemoveSamplesObserver()[all …]
133 ProfilingStateFlag::kHookedSamplesMutedForTesting; in AreHookedSamplesMuted()139 enum ProfilingStateFlag { enum192 static void SetProfilingStateFlag(ProfilingStateFlag flag);198 static void ResetProfilingStateFlag(ProfilingStateFlag flag);259 if (LIKELY(!(state & ProfilingStateFlag::kWasStarted))) { in OnAllocation()267 if (UNLIKELY((state & ProfilingStateFlag::kHookedSamplesMutedForTesting) && in OnAllocation()335 if (LIKELY(!(state & ProfilingStateFlag::kWasStarted))) { in OnFree()