Home
last modified time | relevance | path

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

12

/external/perfetto/src/base/
Dpaged_memory.cc53 PagedMemory PagedMemory::Allocate(size_t req_size, int flags) { in Allocate()
60 return PagedMemory(); in Allocate()
67 return PagedMemory(); in Allocate()
75 auto memory = PagedMemory(usable_region, req_size); in Allocate()
85 PagedMemory::PagedMemory() {} in PagedMemory() function in perfetto::base::PagedMemory
88 PagedMemory::PagedMemory(char* p, size_t size) : p_(p), size_(size) { in PagedMemory() function in perfetto::base::PagedMemory
92 PagedMemory::PagedMemory(PagedMemory&& other) noexcept { in PagedMemory() function in perfetto::base::PagedMemory
98 PagedMemory& PagedMemory::operator=(PagedMemory&& other) { in operator =()
99 this->~PagedMemory(); in operator =()
100 new (this) PagedMemory(std::move(other)); in operator =()
[all …]
Dpaged_memory_unittest.cc41 PagedMemory mem = PagedMemory::Allocate(kSize); in TEST()
69 PagedMemory mem = PagedMemory::Allocate(kSize); in TEST()
98 PagedMemory mem = PagedMemory::Allocate(kSize, PagedMemory::kDontCommit); in TEST()
153 PagedMemory mem = in TEST()
154 PagedMemory::Allocate(kSize, PagedMemory::kDontCommit); in TEST()
168 PagedMemory mem = PagedMemory::Allocate(kSize); in TEST()
199 auto mem = PagedMemory::Allocate(kMemLimit * 2, PagedMemory::kMayFail); in TEST()
Dwatchdog_unittest.cc82 auto void_ptr = PagedMemory::Allocate(kSize); in TEST()
/external/perfetto/include/perfetto/ext/base/
Dpaged_memory.h35 class PagedMemory {
38 PagedMemory();
40 ~PagedMemory();
42 PagedMemory(PagedMemory&& other) noexcept;
43 PagedMemory& operator=(PagedMemory&& other);
61 static PagedMemory Allocate(size_t size, int flags = 0);
83 PagedMemory(char* p, size_t size);
85 PagedMemory(const PagedMemory&) = delete;
87 PagedMemory& operator=(const PagedMemory&) = default;
/external/perfetto/src/tracing/internal/
Din_process_tracing_backend.cc47 base::PagedMemory mem_;
59 : mem_(base::PagedMemory::Allocate(size)) {} in InProcessShm()
/external/perfetto/src/trace_processor/containers/
Dstring_pool.h159 : mem_(base::PagedMemory::Allocate(size, in Block()
160 base::PagedMemory::kDontCommit)), in Block()
188 base::PagedMemory mem_;
/external/perfetto/src/trace_processor/rpc/
Dproto_ring_buffer.cc77 : buf_(base::PagedMemory::Allocate(kGrowBytes)) {} in ProtoRingBuffer()
140 auto new_buf = base::PagedMemory::Allocate(new_size); in Append()
Dproto_ring_buffer.h129 base::PagedMemory buf_;
Dhttpd.cc52 rxbuf(base::PagedMemory::Allocate(kMaxRequestSize)) {} in Client()
56 base::PagedMemory rxbuf;
/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/src/perfetto_cmd/
Dpacket_writer.cc130 base::PagedMemory buf_;
140 buf_(base::PagedMemory::Allocate(kMaxPacketSize)), in ZipPacketWriter()
/external/perfetto/src/ipc/
Dbuffered_frame_deserializer.h128 base::PagedMemory buf_;
Dbuffered_frame_deserializer.cc55 buf_ = base::PagedMemory::Allocate(capacity_); in BeginReceive()
/external/perfetto/tools/trace_to_text/
Dutils.h90 base::PagedMemory buf_;
Dtrace_to_systrace.cc119 buffer_(base::PagedMemory::Allocate(kBufferSize)), in QueryWriter()
158 base::PagedMemory buffer_;
Dutils.cc164 buf_(base::PagedMemory::Allocate(kCompressionBufferSize)), in DeflateTraceWriter()
/external/perfetto/src/traced/probes/android_log/
Dandroid_log_data_source.h134 base::PagedMemory buf_;
/external/perfetto/src/traced/probes/sys_stats/
Dsys_stats_data_source.h94 base::PagedMemory read_buf_;
Dsys_stats_data_source.cc90 read_buf_ = base::PagedMemory::Allocate(kReadBufSize); in SysStatsDataSource()
/external/perfetto/src/traced/probes/ftrace/
Dftrace_controller.h116 base::PagedMemory parsing_mem_;
Dftrace_controller.cc178 base::PagedMemory::Allocate(base::kPageSize * kParsingBufferSizePages); in StartIfNeeded()
/external/perfetto/src/kallsyms/
Dkernel_symbol_map.cc72 base::PagedMemory buffer = base::PagedMemory::Allocate(kBufSize); in ForEachSym()
/external/perfetto/src/tracing/core/
Dtrace_buffer.cc89 data_ = base::PagedMemory::Allocate( in Initialize()
90 size, base::PagedMemory::kMayFail | base::PagedMemory::kDontCommit); in Initialize()
Dtrace_buffer.h621 base::PagedMemory data_;

12