Home
last modified time | relevance | path

Searched refs:StackSampler (Results 1 – 12 of 12) sorted by relevance

/aosp_15_r20/external/cronet/base/profiler/
H A Dstack_sampler.cc71 StackSampler::~StackSampler() = default;
73 std::unique_ptr<StackBuffer> StackSampler::CreateStackBuffer() { in CreateStackBuffer()
80 void StackSampler::Initialize() { in Initialize()
97 void StackSampler::AddAuxUnwinder(std::unique_ptr<Unwinder> unwinder) { in AddAuxUnwinder()
106 void StackSampler::RecordStackFrames(StackBuffer* stack_buffer, in RecordStackFrames()
180 std::vector<Frame> StackSampler::WalkStackForTesting( in WalkStackForTesting()
189 std::unique_ptr<StackSampler> StackSampler::CreateForTesting( in CreateForTesting()
195 return base::WrapUnique(new StackSampler( in CreateForTesting()
200 StackSampler::StackSampler(std::unique_ptr<StackCopier> stack_copier, in StackSampler() function in base::StackSampler
214 std::vector<Frame> StackSampler::WalkStack( in WalkStack()
H A Dstack_sampler_unittest.cc242 StackSampler::UnwindersFactory MakeUnwindersFactory( in MakeUnwindersFactory()
271 std::unique_ptr<StackSampler> stack_sampler = StackSampler::CreateForTesting( in TEST()
305 std::unique_ptr<StackSampler> stack_sampler = StackSampler::CreateForTesting( in TEST()
316 for (uint32_t i = 0; i < StackSampler::kUMAHistogramDownsampleAmount - 1; in TEST()
341 std::unique_ptr<StackSampler> stack_sampler = StackSampler::CreateForTesting( in TEST()
363 std::unique_ptr<StackSampler> stack_sampler = StackSampler::CreateForTesting( in TEST()
380 std::unique_ptr<StackSampler> stack_sampler = StackSampler::CreateForTesting( in TEST()
408 std::vector<Frame> stack = StackSampler::WalkStackForTesting( in TEST()
426 std::vector<Frame> stack = StackSampler::WalkStackForTesting( in TEST()
443 std::vector<Frame> stack = StackSampler::WalkStackForTesting( in TEST()
[all …]
H A Dstack_sampler.h35 class BASE_EXPORT StackSampler {
46 static std::unique_ptr<StackSampler> Create(
53 ~StackSampler();
55 StackSampler(const StackSampler&) = delete;
56 StackSampler& operator=(const StackSampler&) = delete;
89 static std::unique_ptr<StackSampler> CreateForTesting(
110 StackSampler(std::unique_ptr<StackCopier> stack_copier,
H A Dstack_sampler_win.cc18 std::unique_ptr<StackSampler> StackSampler::Create( in Create()
31 return base::WrapUnique(new StackSampler( in Create()
42 size_t StackSampler::GetStackBufferSize() { in GetStackBufferSize()
H A Dstack_sampler_android.cc18 std::unique_ptr<StackSampler> StackSampler::Create( in Create()
27 return base::WrapUnique(new StackSampler( in Create()
33 size_t StackSampler::GetStackBufferSize() { in GetStackBufferSize()
H A Dstack_sampler_mac.cc30 std::unique_ptr<StackSampler> StackSampler::Create( in Create()
37 return base::WrapUnique(new StackSampler( in Create()
45 size_t StackSampler::GetStackBufferSize() { in GetStackBufferSize()
H A Dstack_sampler_ios.cc36 std::unique_ptr<StackSampler> StackSampler::Create( in Create()
44 return base::WrapUnique(new StackSampler( in Create()
55 size_t StackSampler::GetStackBufferSize() { in GetStackBufferSize()
H A Dstack_sampler_posix.cc40 std::unique_ptr<StackSampler> StackSampler::Create( in Create()
50 new StackSampler(std::make_unique<StackCopierSignal>( in Create()
59 size_t StackSampler::GetStackBufferSize() { in GetStackBufferSize()
H A Dstack_sampling_profiler.h23 class StackSampler; variable
220 std::unique_ptr<StackSampler> sampler_;
H A Dstack_sampling_profiler.cc126 std::unique_ptr<StackSampler> sampler, in CollectionContext()
149 std::unique_ptr<StackSampler> sampler;
499 stack_buffer_ = StackSampler::CreateStackBuffer(); in GetOrCreateTaskRunnerForAdd()
842 sampler_(StackSampler::Create(thread_token, in StackSamplingProfiler()
H A Dlibunwindstack_unwinder_android_unittest.cc53 StackSampler::CreateStackBuffer(); in CaptureScenario()
H A Dnative_unwinder_android_unittest.cc113 StackSampler::CreateStackBuffer(); in CaptureScenario()