/external/perfetto/include/perfetto/base/ |
D | paged_memory.h | 35 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/ |
D | paged_memory.cc | 45 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 …]
|
D | paged_memory_unittest.cc | 40 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()
|
D | watchdog_unittest.cc | 82 auto void_ptr = PagedMemory::Allocate(kSize); in TEST()
|
/external/perfetto/src/traced/probes/ftrace/ |
D | page_pool.h | 112 PageBlock() { mem_ = base::PagedMemory::Allocate(kBlockSize); } in PageBlock() 114 base::PagedMemory mem_;
|
/external/perfetto/src/trace_processor/ |
D | string_pool.h | 93 Block() : mem_(base::PagedMemory::Allocate(kBlockSize)) {} in Block() 123 base::PagedMemory mem_;
|
/external/perfetto/src/tracing/test/ |
D | test_shared_memory.cc | 27 mem_ = base::PagedMemory::Allocate(size); in TestSharedMemory()
|
D | test_shared_memory.h | 45 base::PagedMemory mem_;
|
/external/perfetto/tools/trace_to_text/ |
D | trace_to_systrace.cc | 128 buffer_(base::PagedMemory::Allocate(kBufferSize)), in QueryWriter() 167 base::PagedMemory buffer_;
|
/external/perfetto/src/perfetto_cmd/ |
D | packet_writer.cc | 96 base::PagedMemory buf_; 129 buf_(base::PagedMemory::Allocate(kMaxPacketSize)), in ZipPacketWriter()
|
/external/perfetto/src/ipc/ |
D | buffered_frame_deserializer.h | 123 base::PagedMemory buf_;
|
D | buffered_frame_deserializer.cc | 56 buf_ = base::PagedMemory::Allocate(capacity_); in BeginReceive()
|
/external/perfetto/src/traced/probes/sys_stats/ |
D | sys_stats_data_source.h | 88 base::PagedMemory read_buf_;
|
D | sys_stats_data_source.cc | 87 read_buf_ = base::PagedMemory::Allocate(kReadBufSize); in SysStatsDataSource()
|
/external/perfetto/src/traced/probes/android_log/ |
D | android_log_data_source.h | 133 base::PagedMemory buf_;
|
D | android_log_data_source.cc | 130 buf_ = base::PagedMemory::Allocate(kBufSize); in AndroidLogDataSource()
|
/external/perfetto/src/tracing/core/ |
D | trace_buffer.cc | 87 data_ = base::PagedMemory::Allocate( in Initialize() 88 size, base::PagedMemory::kMayFail | base::PagedMemory::kDontCommit); in Initialize()
|
D | trace_buffer.h | 612 base::PagedMemory data_;
|