Home
last modified time | relevance | path

Searched refs:PagedMemory (Results 1 – 18 of 18) sorted by relevance

/external/perfetto/include/perfetto/base/
Dpaged_memory.h35 class PagedMemory {
38 PagedMemory();
40 ~PagedMemory();
42 PagedMemory(PagedMemory&& other) noexcept;
43 PagedMemory& operator=(PagedMemory&& other);
62 static PagedMemory Allocate(size_t size, int flags = 0);
84 PagedMemory(char* p, size_t size);
86 PagedMemory(const PagedMemory&) = delete;
88 PagedMemory& operator=(const PagedMemory&) = default;
/external/perfetto/src/base/
Dpaged_memory.cc45 PagedMemory PagedMemory::Allocate(size_t size, int flags) { in Allocate()
51 return PagedMemory(); in Allocate()
58 return PagedMemory(); in Allocate()
66 auto memory = PagedMemory(usable_region, size); in Allocate()
76 PagedMemory::PagedMemory() {} in PagedMemory() function in perfetto::base::PagedMemory
78 PagedMemory::PagedMemory(char* p, size_t size) : p_(p), size_(size) { in PagedMemory() function in perfetto::base::PagedMemory
82 PagedMemory::PagedMemory(PagedMemory&& other) noexcept { in PagedMemory() function in perfetto::base::PagedMemory
87 PagedMemory& PagedMemory::operator=(PagedMemory&& other) { in operator =()
93 PagedMemory::~PagedMemory() { in ~PagedMemory()
109 bool PagedMemory::AdviseDontNeed(void* p, size_t size) { in AdviseDontNeed()
[all …]
Dpaged_memory_unittest.cc40 PagedMemory mem = PagedMemory::Allocate(kSize); in TEST()
71 PagedMemory mem = PagedMemory::Allocate(kSize, PagedMemory::kDontCommit); in TEST()
126 PagedMemory mem = in TEST()
127 PagedMemory::Allocate(kSize, PagedMemory::kDontCommit); in TEST()
141 PagedMemory mem = PagedMemory::Allocate(kSize); in TEST()
172 auto mem = PagedMemory::Allocate(kMemLimit * 2, PagedMemory::kMayFail); in TEST()
Dwatchdog_unittest.cc82 auto void_ptr = PagedMemory::Allocate(kSize); in TEST()
/external/perfetto/src/traced/probes/ftrace/
Dpage_pool.h112 PageBlock() { mem_ = base::PagedMemory::Allocate(kBlockSize); } in PageBlock()
114 base::PagedMemory mem_;
/external/perfetto/src/trace_processor/
Dstring_pool.h93 Block() : mem_(base::PagedMemory::Allocate(kBlockSize)) {} in Block()
123 base::PagedMemory mem_;
/external/perfetto/src/tracing/test/
Dtest_shared_memory.cc27 mem_ = base::PagedMemory::Allocate(size); in TestSharedMemory()
Dtest_shared_memory.h45 base::PagedMemory mem_;
/external/perfetto/tools/trace_to_text/
Dtrace_to_systrace.cc128 buffer_(base::PagedMemory::Allocate(kBufferSize)), in QueryWriter()
167 base::PagedMemory buffer_;
/external/perfetto/src/perfetto_cmd/
Dpacket_writer.cc96 base::PagedMemory buf_;
129 buf_(base::PagedMemory::Allocate(kMaxPacketSize)), in ZipPacketWriter()
/external/perfetto/src/ipc/
Dbuffered_frame_deserializer.h123 base::PagedMemory buf_;
Dbuffered_frame_deserializer.cc56 buf_ = base::PagedMemory::Allocate(capacity_); in BeginReceive()
/external/perfetto/src/traced/probes/sys_stats/
Dsys_stats_data_source.h88 base::PagedMemory read_buf_;
Dsys_stats_data_source.cc87 read_buf_ = base::PagedMemory::Allocate(kReadBufSize); in SysStatsDataSource()
/external/perfetto/src/traced/probes/android_log/
Dandroid_log_data_source.h133 base::PagedMemory buf_;
Dandroid_log_data_source.cc130 buf_ = base::PagedMemory::Allocate(kBufSize); in AndroidLogDataSource()
/external/perfetto/src/tracing/core/
Dtrace_buffer.cc87 data_ = base::PagedMemory::Allocate( in Initialize()
88 size, base::PagedMemory::kMayFail | base::PagedMemory::kDontCommit); in Initialize()
Dtrace_buffer.h612 base::PagedMemory data_;