Home
last modified time | relevance | path

Searched refs:requested_buffer_size_kb (Results 1 – 2 of 2) sorted by relevance

/external/perfetto/src/traced/probes/ftrace/
Dftrace_config_muxer.cc423 size_t ComputeCpuBufferSizeInPages(size_t requested_buffer_size_kb) { in ComputeCpuBufferSizeInPages() argument
424 if (requested_buffer_size_kb == 0) in ComputeCpuBufferSizeInPages()
425 requested_buffer_size_kb = kDefaultPerCpuBufferSizeKb; in ComputeCpuBufferSizeInPages()
426 if (requested_buffer_size_kb > kMaxPerCpuBufferSizeKb) { in ComputeCpuBufferSizeInPages()
429 requested_buffer_size_kb, kMaxPerCpuBufferSizeKb); in ComputeCpuBufferSizeInPages()
430 requested_buffer_size_kb = kMaxPerCpuBufferSizeKb; in ComputeCpuBufferSizeInPages()
433 size_t pages = requested_buffer_size_kb / (base::kPageSize / 1024); in ComputeCpuBufferSizeInPages()
Dftrace_config_muxer.h171 size_t ComputeCpuBufferSizeInPages(size_t requested_buffer_size_kb);