#ifndef BASE_SAMPLING_HEAP_PROFILER_POISSON_ALLOCATION_SAMPLER_H_
#define BASE_SAMPLING_HEAP_PROFILER_POISSON_ALLOCATION_SAMPLER_H_
#include <atomic>
#include <vector>
#include "base/allocator/dispatcher/notification_data.h"
#include "base/allocator/dispatcher/reentry_guard.h"
#include "base/allocator/dispatcher/subsystem.h"
#include "base/base_export.h"
#include "base/compiler_specific.h"
#include "base/gtest_prod_util.h"
#include "base/memory/raw_ptr_exclusion.h"
#include "base/no_destructor.h"
#include "base/sampling_heap_profiler/lock_free_address_hash_set.h"
#include "base/synchronization/lock.h"
#include "base/thread_annotations.h"
namespace base {
class SamplingHeapProfilerTest;
class BASE_EXPORT PoissonAllocationSampler { … };
ALWAYS_INLINE void PoissonAllocationSampler::OnAllocation(
const base::allocator::dispatcher::AllocationNotificationData&
allocation_data) { … }
ALWAYS_INLINE void PoissonAllocationSampler::OnFree(
const base::allocator::dispatcher::FreeNotificationData& free_data) { … }
}
#endif