Home
last modified time | relevance | path

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

/external/perfetto/src/base/
Dpaged_memory.cc151 size_t commit_size = std::min(num_additional_chunks * kCommitChunkSize, in EnsureCommitted() local
153 void* res = VirtualAlloc(p_ + committed_size_, commit_size, MEM_COMMIT, in EnsureCommitted()
157 committed_size_ + commit_size) in EnsureCommitted()
158 committed_size_ += commit_size; in EnsureCommitted()
/external/perfetto/src/traced/probes/ftrace/
Dproto_translation_table.cc68 uint16_t commit_size = 8; in GuessFtracePageHeaderSpec() local
70 uint16_t commit_size = sizeof(long); in GuessFtracePageHeaderSpec() local
74 if (commit_size < 8 && uname(&sysinfo) == 0) { in GuessFtracePageHeaderSpec()
77 commit_size = in GuessFtracePageHeaderSpec()
92 spec.size = FtraceEvent::Field{"local_t commit", 8, commit_size, 1}; in GuessFtracePageHeaderSpec()